-
Notifications
You must be signed in to change notification settings - Fork 62
/
Copy path.travis.yml
40 lines (40 loc) · 928 Bytes
/
.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
39
40
language: node_js
before_script:
- travis_retry npm install -g roots
- travis_retry npm install -g bower
script:
- npm test
- travis_retry bower install
- echo $TRAVIS_TAG; if [ "$TRAVIS_TAG" != "" ]; then export env='production'; else export env='staging'; fi; echo $env;
- travis_retry roots compile -e $env
- scripts/prep_l18n.sh
node_js:
- '4'
sudo: false
cache:
directories:
- node_modules
- bower_components
notifications:
email:
recipients:
webhooks:
urls:
- http://hubot.ddhive.com/hubot/travis?room=intel-android
addons:
ssh_known_hosts:
- androidhub-int.wdg.infra-host.com
- androidhub-prod.wdg.wdg.infra-host.com
deploy:
- provider: script
script: scripts/deploy.sh
skip_cleanup: true
on:
branch: master
- provider: script
script: scripts/deploy_production.sh
skip_cleanup: true
on:
tags: true