This repository has been archived by the owner on May 26, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
153 additions
and
6 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,7 +1,12 @@ | ||
sudo: false | ||
language: node_js | ||
node_js: | ||
- "0.10" | ||
- "0.12" | ||
- "4.2" | ||
- "5" | ||
- '0.10' | ||
- '0.12' | ||
- '4.2' | ||
- '5' | ||
script: npm run travis | ||
env: | ||
global: | ||
- secure: hUY1MRfIsmk/t3BdLfEmDiObbaeHE2xodP5dMkBfm2/li6QIyFA/9pfGI1HTwLT5AnJmZt4+m0fR84AGiH/SXt4ExPYGXfYLasPUmD8O4wtVyhsoJwpru3qrcH+Dx3NhZ1C+q7ueVJTPsa1uv3fNubeJevAcJNysbEWbrULPQ28= | ||
- secure: oygxyfvLeuJjo5KjczOzpw75DJPtDGxiaWHeJaORK6uaykyAjoi7lW+KhWw2+o37w/KdSMNcgW065EAy/dbEFNZT0iknKh1u6mlnnxEh5ZyUYrvt5eA5E0YU1R68oDHrzzKiA+VVHdzX/wgdFQ02EwmoExAX6UvmpkkwhTURPJ4= |
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
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
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/bash | ||
|
||
echo branch $TRAVIS_BRANCH | ||
echo pull request $TRAVIS_PULL_REQUEST | ||
|
||
if [[ "false" != "$TRAVIS_PULL_REQUEST" ]]; then | ||
echo "saucelabs testing does not work with pull requests" | ||
exit 0 | ||
fi | ||
|
||
if [[ "x" == "x$SAUCE_USERNAME" ]]; then | ||
echo $0 "is missing env var SAUCE_USERNAME" | ||
exit 1 | ||
fi | ||
if [[ "x" == "x$SAUCE_ACCESS_KEY" ]]; then | ||
echo $0 "is missing env var SAUCE_ACCESS_KEY" | ||
exit 1 | ||
fi | ||
|
||
build=$$ | ||
if [[ "x" != "x$TRAVIS_BUILD_NUMBER" ]]; then | ||
build=$TRAVIS_BUILD_NUMBER | ||
fi | ||
echo build $build | ||
|
||
echo | ||
npm run test:browser |