-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.yml
36 lines (30 loc) · 1.05 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
36
language: node_js
node_js:
- "0.10"
env:
global:
- SAUCE_USERNAME=hashspace-bootstrap
- SAUCE_ACCESS_KEY=5bc971c0-02c9-4091-91ab-937f2b0eb52c
- BROWSER_PROVIDER_READY_FILE=/tmp/sauce-connect-ready
- LOGS_DIR=/tmp/logs
- secure: QXHix+y1skNkXhAaNj9EE9cd5GyhFcF7/YyxIKEyfwdIuvEWKswuJ5Q9iyGTROP2foGQ2uz4Otz4JYTF/IVAQrgjz0uSkyyEj1eargvcUh2p6SV9x3AH9AeIR9zTeGU/Iegk6g1UUNQTpt10vI6OrXCh7VXic+BpgcVga+ocLYY=
before_install:
- npm install --quiet -g gulp
- npm install -g [email protected] &> install-coveralls.log
before_script:
- mkdir -p $LOGS_DIR
- chmod -R 777 ./build/sauce/connect_start.sh
- ./build/sauce/connect_start.sh
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- chmod -R 777 ./build/sauce/connect_wait.sh
- ./build/sauce/connect_wait.sh
script:
- gulp ci
after_success:
- cat test-results/*/*/*.info | coveralls && echo "Successfully sent coverage to https://coveralls.io"
- chmod -R 777 ./ci-release.sh
- ./ci-release.sh
after_failure:
- chmod -R 777 ./build/sauce/connect_logs.sh
- ./build/sauce/connect_logs.sh