Skip to content

CI Fixes #403

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jul 24, 2018
Merged
10 changes: 7 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,26 @@ php:
- '5.6'
- '7.0'
- '7.1'
# - '7.2'
- hhvm # on Trusty only
# - nightly

cache:
directories:
- node_modules
- vendor

# Test using the stream client on 5.6 & hhvm
matrix:
include:
- php: '5.6'
env: STREAM_CLIENT_ONLY=1
#- php: '7.2'
# env: STREAM_CLIENT_ONLY=1
- php: hhvm
env: STREAM_CLIENT_ONLY=1

before_install:
- nvm install 6.11
- nvm install 8.11
- sudo apt-get install graphviz

install:
Expand All @@ -39,7 +42,8 @@ before_script:
script:
- if [[ ${STREAM_CLIENT_ONLY} == 1 ]]; then npm run test-stream:coverage; fi
- if [[ ! ${STREAM_CLIENT_ONLY} ]]; then npm run test:coverage; fi
- npm run document-check && if [[ `cat "output/checkstyle.xml" | grep "<error "` != "" ]]; then exit 1; fi
# ONLY check generated doc when NOT on HHVM (issues with reserved class names)
- if [[ $TRAVIS_PHP_VERSION != "hhvm" ]]; then npm run document-check && if [[ `cat "output/checkstyle.xml" | grep "<error "` != "" ]]; then exit 1; fi fi
- npm stop # shutdown server & clean up PID file

before_deploy:
Expand Down
Loading