Skip to content

Commit

Permalink
Re-enable travis testing
Browse files Browse the repository at this point in the history
  • Loading branch information
kasbah committed Jan 21, 2018
1 parent 4c051b2 commit a767bd3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,15 @@ matrix:
include:
- node_js: node
env: TEST_BROWSERS=true
before_install:
- cd travis
- wget --no-check-certificate https://www.antlr.org/download/antlr-4.7.1-complete.jar
- export CLASSPATH=".:$TRAVIS_BUILD_DIR/travis/antlr-4.7.1-complete.jar:$CLASSPATH"
- export PATH=$PATH:$TRAVIS_BUILD_DIR/travis
- cd ..
script:
- make
- cd js
- yarn
- yarn test
- yarn demo
- git diff --quiet
- if [ "${TEST_BROWSERS}" = "true" ] && [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then yarn test:sauce; fi
- if [ "${TEST_BROWSERS}" = "true" ] && [ "${TRAVIS_BRANCH}" = "master" ]; then yarn test:sauce; fi
3 changes: 3 additions & 0 deletions travis/antlr4
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

java -jar "$TRAVIS_BUILD_DIR/travis/antlr-4.7.1-complete.jar" $@

0 comments on commit a767bd3

Please sign in to comment.