execute unit test for files external in separate build config
This commit is contained in:
parent
e15b4d08a6
commit
9925db335c
1 changed files with 9 additions and 0 deletions
|
@ -14,11 +14,15 @@ matrix:
|
|||
env: DB=pgsql
|
||||
- php: 5.4
|
||||
env: DB=mysql
|
||||
- php: 5.4
|
||||
env: DB=mysql EXTERNAL=true
|
||||
allow_failures:
|
||||
- php: hhvm
|
||||
fast_finish: true
|
||||
|
||||
env:
|
||||
global:
|
||||
- EXTERNAL=false
|
||||
matrix:
|
||||
- DB=sqlite
|
||||
|
||||
|
@ -36,6 +40,11 @@ before_script:
|
|||
# call setup for tests
|
||||
- build/prepareTests.sh $DB
|
||||
|
||||
# Enable/disable files_external to control it's unit test execution
|
||||
- php occ --list
|
||||
- if [[ $EXTERNAL == true ]] ; then php occ app:enable files_external ; fi
|
||||
- if [[ $EXTERNAL == false ]] ; then php occ app:disable files_external ; fi
|
||||
|
||||
script:
|
||||
- phpunit --version
|
||||
# Run PHP lint for each PHP version
|
||||
|
|
Loading…
Reference in a new issue