summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-07-29 08:34:55 +0200
committerMorris Jobke <hey@morrisjobke.de>2014-08-05 18:35:53 +0200
commit9925db335ce7f01d8c781b9b23fad98316bf451d (patch)
tree0d4cad81967b086e190010f8300a81e0dbc8bae0 /.travis.yml
parente15b4d08a60a9104cf371b7815fce7103beb933e (diff)
downloadnextcloud-server-9925db335ce7f01d8c781b9b23fad98316bf451d.tar.gz
nextcloud-server-9925db335ce7f01d8c781b9b23fad98316bf451d.zip
execute unit test for files external in separate build config
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