Skip to content

Commit fded2a8

Browse files
committed
Merge pull request #168 from localheinz/feature/speed
Enhancement: Speed up builds as much as possible
2 parents 44adc6f + d82eef0 commit fded2a8

File tree

1 file changed

+19
-16
lines changed

1 file changed

+19
-16
lines changed

.travis.yml

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,27 @@
11
language: php
22

3-
php:
4-
- 5.3.3
5-
- 5.3
6-
- 5.4
7-
- 5.5
8-
- 5.6
9-
- 7
10-
- hhvm
11-
123
matrix:
13-
allow_failures:
14-
- php: 7
4+
fast_finish: true
5+
include:
6+
- php: 5.3.3
7+
- php: 5.3
8+
- php: 5.4
9+
- php: 5.5
10+
- php: 5.6
11+
env: CHECK_LINKS=true BUILD_DOCS=true
12+
- php: 7
13+
- php: hhvm
14+
allow_failures:
15+
- php: 7
1516

16-
install:
17-
- sudo apt-get -y install pypy python-sphinx graphviz
17+
before_install:
1818
- composer selfupdate
19-
- travis_retry composer update --no-interaction --prefer-source
19+
20+
install:
21+
- travis_retry composer install --no-interaction --prefer-source
22+
- if [[ "$CHECK_LINKS" == "true" ]]; then sudo apt-get -y install pypy python-sphinx graphviz; fi
2023

2124
script:
22-
- cd docs && make linkcheck && cd ..
23-
- vendor/bin/phpdoc -d src -t docs-api
2425
- vendor/bin/phpunit --coverage-text
26+
- if [[ "$CHECK_LINKS" == "true" ]]; then cd docs && make linkcheck && cd ..; fi
27+
- if [[ "$BUILD_DOCS" == "true" ]]; then vendor/bin/phpdoc -d src -t docs-api; fi

0 commit comments

Comments
 (0)