Merge pull request #168 from localheinz/feature/speed

Enhancement: Speed up builds as much as possible
This commit is contained in:
David Porter 2015-07-13 15:08:26 -05:00
commit fded2a88b9

View File

@ -1,24 +1,27 @@
language: php
php:
- 5.3.3
- 5.3
- 5.4
- 5.5
- 5.6
- 7
- hhvm
matrix:
allow_failures:
- php: 7
fast_finish: true
include:
- php: 5.3.3
- php: 5.3
- php: 5.4
- php: 5.5
- php: 5.6
env: CHECK_LINKS=true BUILD_DOCS=true
- php: 7
- php: hhvm
allow_failures:
- php: 7
before_install:
- composer selfupdate
install:
- sudo apt-get -y install pypy python-sphinx graphviz
- composer selfupdate
- travis_retry composer update --no-interaction --prefer-source
- travis_retry composer install --no-interaction --prefer-source
- if [[ "$CHECK_LINKS" == "true" ]]; then sudo apt-get -y install pypy python-sphinx graphviz; fi
script:
- cd docs && make linkcheck && cd ..
- vendor/bin/phpdoc -d src -t docs-api
- vendor/bin/phpunit --coverage-text
- if [[ "$CHECK_LINKS" == "true" ]]; then cd docs && make linkcheck && cd ..; fi
- if [[ "$BUILD_DOCS" == "true" ]]; then vendor/bin/phpdoc -d src -t docs-api; fi