Skip to content

Commit

Permalink
Update travis
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Jun 23, 2020
1 parent 71cb55e commit 74bd65f
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .travis.yml
Expand Up @@ -26,17 +26,17 @@ env:

matrix:
include:
- php: '7.1'
- php: 7.1
env: DB=MYSQL RECIPE_VERSION=4.5.x-dev PHPUNIT_TEST=1 PHPCS_TEST=1
- php: '7.1'
env: DB=PGSQL RECIPE_VERSION=4.5.x-dev PHPUNIT_COVERAGE_TEST=1
- php: '7.2'
env: DB=MYSQL RECIPE_VERSION=4.5.x-dev PHPUNIT_TEST=1
- php: '7.3'
- php: 7.1
env: DB=MYSQL RECIPE_VERSION=4.5.x-dev PHPUNIT_COVERAGE_TEST=1 PDO=1
- php: 7.2
env: DB=PGSQL RECIPE_VERSION=4.6.x-dev PHPUNIT_TEST=1
- php: 7.3
env: DB=MYSQL RECIPE_VERSION=4.6.x-dev BEHAT_TEST=1
- php: '7.3'
- php: 7.3
env: DB=MYSQL RECIPE_VERSION=4.6.x-dev NPM_TEST=1
- php: '7.3'
- php: 7.4
env: DB=MYSQL RECIPE_VERSION=4.x-dev PHPUNIT_TEST=1

before_script:
Expand All @@ -49,8 +49,10 @@ before_script:

# Install composer dependencies
- composer validate
- if [[ $DB == PGSQL ]]; then composer require silverstripe/postgresql:2.1.x-dev --no-update; fi
- composer require --no-update silverstripe/recipe-cms:"$RECIPE_VERSION" silverstripe/recipe-testing:^1
- if [[ $DB == PGSQL ]]; then composer require silverstripe/postgresql:^2 --no-update; fi
- composer require --no-update silverstripe/recipe-cms:$RECIPE_VERSION silverstripe/recipe-testing:^1
# Fix for running phpunit 5 on php 7.4+
- composer require --no-update sminnee/phpunit-mock-objects:^3
- composer install --prefer-dist --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile

# Remove preinstalled Chrome (google-chrome)
Expand Down

0 comments on commit 74bd65f

Please sign in to comment.