wallabag/.travis.yml

46 lines
941 B
YAML
Raw Normal View History

2015-01-30 08:09:53 +00:00
language: php
2015-01-31 08:15:51 +00:00
2015-03-27 23:23:25 +00:00
# faster builds on docker-container setup
2015-03-27 18:47:30 +00:00
sudo: false
2015-03-27 23:23:25 +00:00
# cache vendor dirs
cache:
directories:
- vendor
- $HOME/.composer/cache
2015-01-30 10:23:18 +00:00
php:
2015-03-27 23:23:25 +00:00
- 5.4
- 5.5
- 5.6
- hhvm
- nightly
2015-03-27 18:58:48 +00:00
matrix:
2015-03-27 23:23:25 +00:00
fast_finish: true
allow_failures:
- php: hhvm
- php: nightly
2015-01-31 08:15:51 +00:00
2015-01-19 12:37:32 +00:00
branches:
2015-03-27 23:23:25 +00:00
only:
- v2
install:
- composer self-update
2015-01-31 08:15:51 +00:00
2015-03-27 23:23:25 +00:00
# build coverage only on one build, to speed up results feedbacks
# before_script:
# - if [[ "$TRAVIS_PHP_VERSION" = "5.6" ]]; then PHPUNIT_FLAGS="--coverage-clover=coverage.clover"; else PHPUNIT_FLAGS=""; fi;
2015-01-31 08:15:51 +00:00
script:
2015-03-27 23:23:25 +00:00
- ant prepare
- bin/phpunit --exclude-group command-doctrine --debug $PHPUNIT_FLAGS
# after_script:
# - |
# if [ $TRAVIS_PHP_VERSION = '5.6' ]; then
# wget https://scrutinizer-ci.com/ocular.phar
# php ocular.phar code-coverage:upload --format=php-clover coverage.clover
# fi