]> git.immae.eu Git - github/wallabag/wallabag.git/blame - .travis.yml
Merge pull request #1429 from wallabag/v2-language
[github/wallabag/wallabag.git] / .travis.yml
CommitLineData
03493be0 1language: php
aa6e27cf 2
3e6b7ea0 3# faster builds on docker-container setup
2d733277
J
4sudo: false
5
3e6b7ea0
J
6# cache vendor dirs
7cache:
8 directories:
9 - vendor
10 - $HOME/.composer/cache
11
367664ee 12php:
3e6b7ea0
J
13 - 5.4
14 - 5.5
15 - 5.6
16 - hhvm
17 - nightly
61413889
J
18
19matrix:
3e6b7ea0
J
20 fast_finish: true
21 allow_failures:
22 - php: hhvm
23 - php: nightly
aa6e27cf 24
3d99ce9d 25branches:
3e6b7ea0
J
26 only:
27 - v2
28
29install:
30 - composer self-update
aa6e27cf 31
3e6b7ea0 32# build coverage only on one build, to speed up results feedbacks
9a014e48
JB
33# before_script:
34 # - if [[ "$TRAVIS_PHP_VERSION" = "5.6" ]]; then PHPUNIT_FLAGS="--coverage-clover=coverage.clover"; else PHPUNIT_FLAGS=""; fi;
aa6e27cf
J
35
36script:
3e6b7ea0 37 - ant prepare
9a014e48
JB
38 - bin/phpunit --exclude-group command-doctrine --debug $PHPUNIT_FLAGS
39
40# after_script:
41 # - |
42 # if [ $TRAVIS_PHP_VERSION = '5.6' ]; then
43 # wget https://scrutinizer-ci.com/ocular.phar
44 # php ocular.phar code-coverage:upload --format=php-clover coverage.clover
45 # fi