Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <wurst.christoph@gmail.com>2016-02-17 13:14:42 +0300
committerChristoph Wurst <wurst.christoph@gmail.com>2016-02-17 13:38:13 +0300
commit638c0566de839e86e19824dd14507e990f86c5f7 (patch)
treecb0a06b97f97ab22c150cf95932f0d2811e7a64c /.travis.yml
parentdf372386070e8c661515329144115ba1176e63d9 (diff)
disable xdebug if it's not needed
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml9
1 files changed, 6 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 6c3753c03..7a25987db 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -22,6 +22,7 @@ env:
global:
- CORE_BRANCH=master
- TEST_JS=FALSE
+ - PHP_COVERAGE=FALSE
matrix:
- DB=sqlite
@@ -63,6 +64,8 @@ before_script:
- cd apps/mail
- sh -c "if [ '$TEST_JS' = 'TRUE' ]; then make dev-setup; fi"
- make add-imap-account
+ # Disable xdebug if it's not needed
+ - if [[ "$PHP_COVERAGE" = "FALSE" ]]; then phpenv config-rm xdebug.ini; fi
script:
# Test lint
@@ -76,14 +79,14 @@ script:
- phpunit --configuration phpunit.xml
# Create coverage report
- - sh -c "wget https://scrutinizer-ci.com/ocular.phar"
- - sh -c "php ocular.phar code-coverage:upload --format=php-clover clover.xml"
+ - if [[ "$PHP_COVERAGE" = "TRUE" ]]; then wget https://scrutinizer-ci.com/ocular.phar; fi
+ - if [[ "$PHP_COVERAGE" = "TRUE" ]]; then php ocular.phar code-coverage:upload --format=php-clover clover.xml; fi
matrix:
include:
- php: 5.4
env: "DB=mysql TEST_JS=TRUE"
- php: 5.4
- env: DB=pgsql
+ env: "DB=pgsql PHP_COVERAGE=TRUE"
- php: 5.4
env: "DB=mysql CORE_BRANCH=stable8"
- php: 5.4