Skip to content

Commit

Permalink
Add basic travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wilr authored Aug 21, 2019
1 parent 46dc3a6 commit 6b76a55
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
language: php

env:
global:
- COMPOSER_ROOT_VERSION=4.5.x-dev

matrix:
include:
- php: 7.1
env: DB=MYSQL
- php: 7.2
env: DB=PGSQL
- php: 7.3
env: DB=MYSQL
- php: 7.3
env: DB=MYSQL

before_script:
- phpenv rehash
- phpenv config-rm xdebug.ini
- composer validate
- if [[ $DB == PGSQL ]]; then composer require silverstripe/postgresql:2.1.x-dev --no-update; fi
- composer install --prefer-source --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile

script:
- vendor/bin/phpunit --testsuite recipe-silvershop

0 comments on commit 6b76a55

Please sign in to comment.