Upgrade travis build set up
This commit is contained in:
parent
49239899fa
commit
8aba8cd8d7
22
.travis.yml
22
.travis.yml
|
@ -2,22 +2,20 @@
|
||||||
|
|
||||||
language: php
|
language: php
|
||||||
|
|
||||||
php:
|
dist: trusty
|
||||||
- 5.3
|
|
||||||
- 5.4
|
|
||||||
- 5.5
|
|
||||||
- 5.6
|
|
||||||
|
|
||||||
dist: precise
|
before_install:
|
||||||
|
- sudo apt-get update
|
||||||
env:
|
|
||||||
- DB=MYSQL CORE_RELEASE=3.5
|
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- php: 7.1
|
- php: 5.6
|
||||||
env: DB=MYSQL CORE_RELEASE=3.6
|
env: DB=MYSQL CORE_RELEASE=3.6
|
||||||
- php: 7.1
|
- php: 7.1
|
||||||
|
env: DB=MYSQL CORE_RELEASE=3.7
|
||||||
|
- php: 7.2
|
||||||
|
env: DB=MYSQL CORE_RELEASE=3.7 NPM_TEST=1
|
||||||
|
- php: 7.3
|
||||||
env: DB=MYSQL CORE_RELEASE=3 COVERAGE="--coverage-clover=coverage.xml"
|
env: DB=MYSQL CORE_RELEASE=3 COVERAGE="--coverage-clover=coverage.xml"
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
|
@ -28,9 +26,13 @@ before_script:
|
||||||
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/build/ss --require undefinedoffset/sortablegridfield:~0.6.9
|
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/build/ss --require undefinedoffset/sortablegridfield:~0.6.9
|
||||||
- cd ~/build/ss
|
- cd ~/build/ss
|
||||||
- composer install
|
- composer install
|
||||||
|
- if [[ $NPM_TEST ]]; then npm install -g yarn && yarn install --network-concurrency 1; fi
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- vendor/bin/phpunit "$COVERAGE" dms/tests
|
- vendor/bin/phpunit "$COVERAGE" dms/tests
|
||||||
|
- if [[ $NPM_TEST ]]; then yarn run build; fi
|
||||||
|
- if [[ $NPM_TEST ]]; then git diff-files --quiet -w --relative=client; fi
|
||||||
|
- if [[ $NPM_TEST ]]; then git diff --name-status --relative=client; fi
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- >
|
- >
|
||||||
|
|
Loading…
Reference in New Issue