forked from HSLdevcom/navigator-proto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (35 loc) · 1.32 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
language: node_Js
node_js: "0.10"
install:
- curl -O http://saucelabs.com/downloads/Sauce-Connect-latest.zip
- unzip Sauce-Connect-latest.zip
- java -jar Sauce-Connect.jar $SAUCE_USERNAME $SAUCE_ACCESS_KEY -i $TRAVIS_JOB_ID
-f CONNECTED 1>/dev/null &
- JAVA_PID=$!
- npm install -g grunt-cli testem coffee-script
- npm install
- python bootstrap.py --version 2.1.1 # compatible with old setuptools
- bin/buildout
before_script:
- bash -c "while [ ! -f CONNECTED ]; do sleep 2; done"
script: grunt test$TARGET
env:
matrix:
- TARGET=
- TARGET=-robot
# - TARGET=-mobile
global:
- SAUCE_USERNAME=navigator-proto
# From https://github.com/theintern/intern/wiki/Travis-CI-integration
# Sauce Labs are OK with this and it is currently necessary to expose this information for testing pull requests;
# please get your own free key if you want to test yourself
- SAUCE_ACCESS_KEY=5b6e172d-edb6-41ba-bde0-c284b475f7fe
- secure: |-
NSa08sEGEb2aaiv4kUGdB/gi4h2QJWghc9Syzy7vIelHPSkKJl1aG7OPbVXX
XVAlbGRSkP++3ShW/mFJ/ntZpWxcSt8K/p4mRE1f3r9aGv/PkkNlJKODC143
s8GTjslJgi9Ll/ao1Ys9aeCkRdYKfqMWM4fJMWkeucuh3lZ+HAw=
- secure: |-
foXH7e95axy5JLZBd8vA3nr5OuALylDu9X4032k0kK2JFxMY7GQJ9s4XTJ88
RP1noE/ClfmdCICnvrT5kWRQUkwKNc+bpXxRDmhioumooKUAfRcQi9mEvt6O
a8B/1BTjjTXuv3LPr7wwNNTn8l22n40Qpum2mrTi6k1ZjN6uiEE=