Skip to content

Commit

Permalink
Add PHP 7.3 and SilverStripe 4.3 to Travis builds, and use recipe-cms…
Browse files Browse the repository at this point in the history
… to fix versioned mismatch
  • Loading branch information
robbieaverill committed Jan 10, 2019
1 parent 94dd537 commit 5a5c3b0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,16 @@ matrix:
- php: 7.1
env: DB=MYSQL RECIPE_VERSION=4.2.x-dev PHPUNIT_COVERAGE_TEST=1
- php: 7.2
env: DB=PGSQL RECIPE_VERSION=4.x-dev PHPUNIT_TEST=1
env: DB=PGSQL RECIPE_VERSION=4.3.x-dev PHPUNIT_TEST=1
- php: 7.3
env: DB=MYSQL RECIPE_VERSION=4.x-dev PHPUNIT_TEST=1

before_script:
- phpenv rehash
- phpenv config-rm xdebug.ini
- echo 'memory_limit = 2G' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
- composer validate
- composer require silverstripe/recipe-core "$RECIPE_VERSION" --no-update
- composer require silverstripe/recipe-cms:"$RECIPE_VERSION" --no-update
- if [[ $DB == PGSQL ]]; then composer require silverstripe/postgresql:2.1.x-dev --no-update; fi
- composer install --prefer-dist --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile

Expand Down

0 comments on commit 5a5c3b0

Please sign in to comment.