Skip to content

Commit

Permalink
Merge pull request #64 from creative-commoners/master
Browse files Browse the repository at this point in the history
Travis config update, remove branch aliases
  • Loading branch information
Garion Herman committed Nov 5, 2019
2 parents c4e72ec + 111c5c4 commit 28dc314
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
20 changes: 14 additions & 6 deletions .travis.yml
@@ -1,6 +1,10 @@
language: php

dist: trusty
dist: xenial

services:
- mysql
- postgresql

env:
global:
Expand All @@ -9,19 +13,23 @@ env:
matrix:
include:
- php: 7.1
env: DB=PGSQL RECIPE_VERSION=4.x-dev PHPCS_TEST=1 PHPUNIT_TEST=1
env: DB=MYSQL PHPUNIT_TEST=1
- php: 7.1
env: DB=PGSQL PHPUNIT_TEST=1
- php: 7.2
env: DB=MYSQL RECIPE_VERSION=4.x-dev NPM_TEST=1
env: DB=MYSQL PHPUNIT_TEST=1 PHPCS_TEST=1
- php: 7.3
env: DB=MYSQL PHPUNIT_COVERAGE_TEST=1
- php: 7.3
env: DB=MYSQL RECIPE_VERSION=4.x-dev PHPUNIT_COVERAGE_TEST=1
env: NPM_TEST=1

before_script:
- phpenv rehash
- phpenv config-rm xdebug.ini

- composer validate
- composer require --no-update silverstripe/recipe-cms:"$RECIPE_VERSION" silverstripe/recipe-testing:^1
- if [[ $DB == PGSQL ]]; then composer require --no-update silverstripe/postgresql:2.1.x-dev; fi
- composer require --no-update silverstripe/recipe-cms:^4 silverstripe/recipe-testing:^1
- if [[ $DB == PGSQL ]]; then composer require --no-update silverstripe/postgresql:^2; fi
- composer install --prefer-source --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile

# Install NPM dependencies
Expand Down
3 changes: 0 additions & 3 deletions composer.json
Expand Up @@ -23,9 +23,6 @@
}
},
"extra": {
"branch-alias": {
"dev-master": "4.x-dev"
},
"expose": [
"client/dist"
]
Expand Down

0 comments on commit 28dc314

Please sign in to comment.