File tree Expand file tree Collapse file tree 1 file changed +19
-16
lines changed Expand file tree Collapse file tree 1 file changed +19
-16
lines changed Original file line number Diff line number Diff line change 1
1
language : php
2
2
3
- php :
4
- - 5.3.3
5
- - 5.3
6
- - 5.4
7
- - 5.5
8
- - 5.6
9
- - 7
10
- - hhvm
11
-
12
3
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
15
16
16
- install :
17
- - sudo apt-get -y install pypy python-sphinx graphviz
17
+ before_install :
18
18
- 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
20
23
21
24
script :
22
- - cd docs && make linkcheck && cd ..
23
- - vendor/bin/phpdoc -d src -t docs-api
24
25
- 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
You can’t perform that action at this time.
0 commit comments