Skip to content

Commit 5251707

Browse files
committed
Enhancement: Check links only on PHP 5.6
1 parent 361e906 commit 5251707

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ matrix:
88
- php: 5.4
99
- php: 5.5
1010
- php: 5.6
11+
env: CHECK_LINKS=true
1112
- php: 7
1213
- php: hhvm
1314
allow_failures:
@@ -17,10 +18,10 @@ before_install:
1718
- composer selfupdate
1819

1920
install:
20-
- sudo apt-get -y install pypy python-sphinx graphviz
21+
- if [[ "$CHECK_LINKS" == "true" ]]; then sudo apt-get -y install pypy python-sphinx graphviz; fi
2122
- travis_retry composer install --no-interaction --prefer-source
2223

2324
script:
24-
- cd docs && make linkcheck && cd ..
25+
- if [[ "$CHECK_LINKS" == "true" ]]; then cd docs && make linkcheck && cd ..; fi
2526
- vendor/bin/phpdoc -d src -t docs-api
2627
- vendor/bin/phpunit --coverage-text

0 commit comments

Comments
 (0)