forked from ariatemplates/hashspace
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
38 lines (32 loc) · 1.18 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
37
38
language: node_js
node_js:
- "0.10"
env:
global:
- SAUCE_USERNAME=hashspace
- SAUCE_ACCESS_KEY=9e47b05c-b1de-43ce-b9f0-dc64a3bc5f35
- BROWSER_PROVIDER_READY_FILE=/tmp/sauce-connect-ready
- LOGS_DIR=/tmp/logs
- secure: bGENSGZguDwxsHJu9JyEggr0KhNd9l/RguvlS4zknMV32Hujtt60tsD9X9IKRIO96Fv4loDburOco38SdzezVzd6AS/wsxJsoqD//C2+BXJKzU4MsGXeqS5hx6r2CiTWCnDoIu2QvyK9qiO+Gu0VII76//3pa50m7EVYT79jVxM=
before_install:
- travis_retry npm install --quiet -g grunt-cli
- travis_retry 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:
- travis_retry grunt ci
after_success:
- cat test-results/*.info test-results/*/*/*.info | coveralls && echo "Successfully sent coverage to https://coveralls.io"
- chmod -R 777 ./ci-release.sh
- ./ci-release.sh
- chmod -R 777 ./build/size/size.sh
- ./build/size/size.sh dist/!(*.min.js)
after_failure:
- chmod -R 777 ./build/sauce/connect_logs.sh
- ./build/sauce/connect_logs.sh