-
Notifications
You must be signed in to change notification settings - Fork 36
/
.travis.yml
46 lines (37 loc) · 816 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
41
42
43
44
45
46
git:
depth: 10
branches:
only:
- staging
- deploy
os:
- osx
osx_image: xcode7.3
language: objective-c
compiler: clang
sudo: false
env:
global:
- SIGN_DARWIN_KEYCHAIN_NAME=travis.keychain
- SIGN_DARWIN_KEYCHAIN_PASSWORD=travis
install:
- git clone https://github.com/creationix/nvm.git /tmp/.nvm
- source /tmp/.nvm/nvm.sh
- nvm install 5.5
- nvm use 5.5
- npm install -g gulp
- npm install
before_script:
- npm test
script:
- if [[ $TRAVIS_BRANCH == 'staging' ]]; then ./ciscripts/travis/build_staging.sh; fi
- if [[ $TRAVIS_BRANCH == 'deploy' ]]; then ./ciscripts/travis/build_deploy.sh; fi
cache:
directories:
- node_modules
- src/node_modules
- cache
notifications:
email: false
webhooks:
- https://webhooks.gitter.im/e/2c65a3d61901add4556f