Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch over to Travis's container infrastructure. Don't run prepublis…
…h for Travis.
- Loading branch information
John Vilk
committed
Nov 7, 2015
1 parent
5f9d4c8
commit 82b0336
Showing
2 changed files
with
25 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,36 @@ | ||
language: node_js | ||
|
||
node_js: | ||
- "0.12" | ||
- "stable" | ||
matrix: | ||
include: | ||
- node_js: "0.12" | ||
env: TEST_BROWSER=0 | ||
- node_js: "stable" | ||
env: TEST_BROWSER=0 | ||
- node_js: "stable" | ||
env: TEST_BROWSER=1 | ||
|
||
sudo: false | ||
|
||
cache: | ||
directories: | ||
- node_modules | ||
- typings | ||
- vendor/java_home | ||
|
||
install: | ||
- sudo apt-cache search oracle-java8-installer | ||
- sudo add-apt-repository -y ppa:openjdk-r/ppa | ||
- sudo apt-get update | ||
- sudo apt-get install -y openjdk-8-jdk | ||
- npm install | ||
- ./node_modules/.bin/tsc --version | ||
- ./node_modules/.bin/grunt --version | ||
|
||
addons: | ||
firefox: "latest" | ||
apt: | ||
packages: | ||
- oracle-java8-installer | ||
|
||
before_script: | ||
- export DISPLAY=:99.0 | ||
- sh -e /etc/init.d/xvfb start | ||
|
||
script: | ||
- ./node_modules/.bin/grunt test | ||
- ./node_modules/.bin/grunt test-browser-travis | ||
- if test $TEST_BROWSER -eq 0; then echo "grunt test"; ./node_modules/.bin/grunt test --grunt-ignore-compile-errors; else echo "grunt test-browser-travis"; ./node_modules/.bin/grunt test-browser-travis --grunt-ignore-compile-errors; fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters