Skip to content

Commit fea625b

Browse files
authored
CI Fixes (#403)
* Updated dependencies and changed start/stop commands to defer to the parse-server-test start/stop scripts * Updated tests & messages to reflect latest server changes * switching travis node v8.11 to work with latest parse-server * Avoiding tests on 7.2 (for now), avoiding doc generation on hhvm
1 parent dbfcc78 commit fea625b

File tree

8 files changed

+3125
-968
lines changed

8 files changed

+3125
-968
lines changed

.travis.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,26 @@ php:
66
- '5.6'
77
- '7.0'
88
- '7.1'
9+
# - '7.2'
910
- hhvm # on Trusty only
10-
# - nightly
1111

1212
cache:
1313
directories:
1414
- node_modules
1515
- vendor
1616

17+
# Test using the stream client on 5.6 & hhvm
1718
matrix:
1819
include:
1920
- php: '5.6'
2021
env: STREAM_CLIENT_ONLY=1
22+
#- php: '7.2'
23+
# env: STREAM_CLIENT_ONLY=1
2124
- php: hhvm
2225
env: STREAM_CLIENT_ONLY=1
2326

2427
before_install:
25-
- nvm install 6.11
28+
- nvm install 8.11
2629
- sudo apt-get install graphviz
2730

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

4549
before_deploy:

0 commit comments

Comments
 (0)