summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 02876ee59d2..c5d6c9655ff 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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