mirror of
https://github.com/justinrainbow/json-schema.git
synced 2025-05-04 13:32:02 +02:00
Enhancement: Check links only on PHP 5.6
This commit is contained in:
parent
361e906c07
commit
5251707a4a
@ -8,6 +8,7 @@ matrix:
|
||||
- php: 5.4
|
||||
- php: 5.5
|
||||
- php: 5.6
|
||||
env: CHECK_LINKS=true
|
||||
- php: 7
|
||||
- php: hhvm
|
||||
allow_failures:
|
||||
@ -17,10 +18,10 @@ before_install:
|
||||
- composer selfupdate
|
||||
|
||||
install:
|
||||
- sudo apt-get -y install pypy python-sphinx graphviz
|
||||
- if [[ "$CHECK_LINKS" == "true" ]]; then sudo apt-get -y install pypy python-sphinx graphviz; fi
|
||||
- travis_retry composer install --no-interaction --prefer-source
|
||||
|
||||
script:
|
||||
- cd docs && make linkcheck && cd ..
|
||||
- if [[ "$CHECK_LINKS" == "true" ]]; then cd docs && make linkcheck && cd ..; fi
|
||||
- vendor/bin/phpdoc -d src -t docs-api
|
||||
- vendor/bin/phpunit --coverage-text
|
||||
|
Loading…
x
Reference in New Issue
Block a user