aboutsummaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml23
1 files changed, 17 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml
index 8d0cf817..f78c2b15 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -13,14 +13,22 @@ php:
13 - 5.4 13 - 5.4
14 - 5.5 14 - 5.5
15 - 5.6 15 - 5.6
16 - 7.0
16 - hhvm 17 - hhvm
17 - nightly 18
19env:
20 - DB=mysql
21 - DB=pgsql
22 - DB=sqlite
18 23
19matrix: 24matrix:
20 fast_finish: true 25 fast_finish: true
26 exclude:
27 - php: hhvm
28 env: DB=pgsql # driver for PostgreSQL currently unsupported by HHVM, requires 3rd party dependency
21 allow_failures: 29 allow_failures:
30 - php: 7.0
22 - php: hhvm 31 - php: hhvm
23 - php: nightly
24 32
25branches: 33branches:
26 only: 34 only:
@@ -29,13 +37,16 @@ branches:
29install: 37install:
30 - composer self-update 38 - composer self-update
31 39
32# build coverage only on one build, to speed up results feedbacks 40before_script:
33# before_script: 41 # disable xdebug since we don't use code-coverage for now
42 - phpenv config-rm xdebug.ini
43 # build coverage only on one build, to speed up results feedbacks
34 # - if [[ "$TRAVIS_PHP_VERSION" = "5.6" ]]; then PHPUNIT_FLAGS="--coverage-clover=coverage.clover"; else PHPUNIT_FLAGS=""; fi; 44 # - if [[ "$TRAVIS_PHP_VERSION" = "5.6" ]]; then PHPUNIT_FLAGS="--coverage-clover=coverage.clover"; else PHPUNIT_FLAGS=""; fi;
45 - if [[ "$DB" = "pgsql" ]]; then psql -c 'create database wallabag;' -U postgres; fi;
35 46
36script: 47script:
37 - ant prepare 48 - ant prepare-$DB
38 - bin/phpunit --exclude-group command-doctrine --debug $PHPUNIT_FLAGS 49 - bin/phpunit --exclude-group command-doctrine -v
39 50
40# after_script: 51# after_script:
41 # - | 52 # - |