Skip to content

Commit d82eef0

Browse files
committed
Enhancement: Check links and build docs after running tests
1 parent 75e0161 commit d82eef0

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
@@ -18,10 +18,10 @@ before_install:
1818
- composer selfupdate
1919

2020
install:
21-
- if [[ "$CHECK_LINKS" == "true" ]]; then sudo apt-get -y install pypy python-sphinx graphviz; fi
2221
- travis_retry composer install --no-interaction --prefer-source
22+
- if [[ "$CHECK_LINKS" == "true" ]]; then sudo apt-get -y install pypy python-sphinx graphviz; fi
2323

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

0 commit comments

Comments
 (0)