summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-09-22 16:34:50 +0200
committerMorris Jobke <hey@morrisjobke.de>2014-09-22 16:34:50 +0200
commit55b4c0ac079537de213b9deca3ed1581cded6e5c (patch)
tree73adfb9bf3c33de1458e44546c6dcb34ae03ab71 /.travis.yml
parent9e8d2907e2c86c1c425feefd5e5a97ed4325b040 (diff)
downloadnextcloud-server-55b4c0ac079537de213b9deca3ed1581cded6e5c.tar.gz
nextcloud-server-55b4c0ac079537de213b9deca3ed1581cded6e5c.zip
Revert "Travis support"
This reverts commit 472d896ce9aad4d526126a7aefa96127920585e6. Conflicts: .travis.yml
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml67
1 files changed, 0 insertions, 67 deletions
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index c5d6c9655ff..00000000000
--- a/.travis.yml
+++ /dev/null
@@ -1,67 +0,0 @@
-language: php
-php:
- - 5.3
- - 5.4
- - 5.5
- - 5.6
- - hhvm
-
-matrix:
- include:
- - php: 5.4
- env: DB=oracle
- - php: 5.4
- 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
-
-before_script:
- # setup databases
- - wget https://raw.githubusercontent.com/owncloud/administration/master/travis-ci/setup_databases.sh
- - bash ./setup_databases.sh $DB
-
- # Additional PHP config
- - if [[ $HHVM == false ]] ; then phpenv config-add build/travis.php.ini ; fi
-
- # fetch Ocular (for test coverage upload)
- - wget https://scrutinizer-ci.com/ocular.phar
-
- # 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
- - if [[ $DB == 'sqlite' ]] ; then ant -f build/build.xml -Dbasedir=. prepare lint ; fi
-
- # Run tests
- - phpunit --configuration tests/phpunit-autotest.xml --coverage-clover tests/autotest-clover-$DB.xml --verbose --debug
-
- # Run JS tests just once (see test matrix - mysql is just run once)
- - if [[ $DB == 'mysql' ]] ; then ./autotest-js.sh ; fi
-
- # Upload coverage report
- - php ocular.phar code-coverage:upload --format=php-clover tests/autotest-clover-$DB.xml
-
-branches:
- only:
- - master
- - stable5
- - stable6
- - stable7