mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-08 18:19:34 +00:00
9a014e48d6
It takes ages to process and most of the time the build fail for "execution time" too long. Too much time already burned to investigate it. We'll investigate later, it's not a priority atm.
45 lines
941 B
YAML
45 lines
941 B
YAML
language: php
|
|
|
|
# faster builds on docker-container setup
|
|
sudo: false
|
|
|
|
# cache vendor dirs
|
|
cache:
|
|
directories:
|
|
- vendor
|
|
- $HOME/.composer/cache
|
|
|
|
php:
|
|
- 5.4
|
|
- 5.5
|
|
- 5.6
|
|
- hhvm
|
|
- nightly
|
|
|
|
matrix:
|
|
fast_finish: true
|
|
allow_failures:
|
|
- php: hhvm
|
|
- php: nightly
|
|
|
|
branches:
|
|
only:
|
|
- v2
|
|
|
|
install:
|
|
- composer self-update
|
|
|
|
# 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;
|
|
|
|
script:
|
|
- 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
|