Run js stuff only once on travis

This commit is contained in:
Julius Haertl
2017-02-01 20:12:26 +01:00
committed by Julius Härtl
parent 2085e9b300
commit 8375108412

View File

@@ -6,7 +6,7 @@ php:
- 7
env:
matrix:
- CORE_BRANCH=master DB=sqlite
- CORE_BRANCH=master DB=sqlite TEST_JS=1
- CORE_BRANCH=master DB=mysql
- CORE_BRANCH=stable11 DB=sqlite
- CORE_BRANCH=stable11 DB=mysql
@@ -24,9 +24,7 @@ before_script:
- make install-deps
script:
- node --version
- npm --version
- make build-js
- sh -c "if [ '$TRAVIS_PHP_VERSION' = '7.0' ] && [ '$TEST_JS' = '1' ]; then make build-js; fi;"
- make test
after_failure: