Skip to content

Commit 75e0161

Browse files
committed
Enhancement: Build docs on PHP 5.6 only
1 parent 5251707 commit 75e0161

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ matrix:
88
- php: 5.4
99
- php: 5.5
1010
- php: 5.6
11-
env: CHECK_LINKS=true
11+
env: CHECK_LINKS=true BUILD_DOCS=true
1212
- php: 7
1313
- php: hhvm
1414
allow_failures:
@@ -23,5 +23,5 @@ install:
2323

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

0 commit comments

Comments
 (0)