Skip to content

Commit f44ae1c

Browse files
jiridanekkornys
authored andcommitted
Skip building docs on node < 8 in travis.yml (#24)
On versions < 8 it would fail, because unsupported features of node will be used.
1 parent 92388dc commit f44ae1c

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
@@ -14,5 +14,5 @@ script:
1414
- docker run --rm -v`pwd`/scripts:/mnt -p 5672:5672 -p 61616:61616 --entrypoint ash enkeys/alpine-openjdk-amq7-snapshot /mnt/entrypoint.sh amq7-server &
1515
- sleep 10
1616
- npm run-script browserify
17-
- npm run-script doc
18-
- npm run-script test
17+
- [[ ${TRAVIS_NODE_VERSION} -ge 8 ]] && npm run-script doc
18+
- npm run-script test

0 commit comments

Comments
 (0)