Skip to content

Commit 38d8465

Browse files
committed
Attempt to re-enable travis testing
1 parent 4c051b2 commit 38d8465

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

.travis.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,15 @@ matrix:
77
include:
88
- node_js: node
99
env: TEST_BROWSERS=true
10+
before_install:
11+
- cd travis
12+
- wget --no-check-certificate https://www.antlr.org/download/antlr-4.7.1-complete.jar
13+
- export CLASSPATH=".:$TRAVIS_BUILD_DIR/travis/antlr-4.7.1-complete.jar:$CLASSPATH"
14+
- export PATH=$PATH:$TRAVIS_BUILD_DIR/travis
15+
- cd ..
1016
script:
17+
- make
18+
- cd js
19+
- yarn
1120
- yarn test
12-
- yarn demo
13-
- git diff --quiet
14-
- if [ "${TEST_BROWSERS}" = "true" ] && [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then yarn test:sauce; fi
21+
- if [ "${TEST_BROWSERS}" = "true" ] && [ "${TRAVIS_BRANCH}" = "master" ]; then yarn test:sauce; fi

travis/antlr4

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/usr/bin/env bash
2+
3+
java -jar "$TRAVIS_BUILD_DIR/travis/antlr-4.7.1-complete.jar" $@

0 commit comments

Comments
 (0)