-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
31 lines (31 loc) · 1.43 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
language: objective-c
os:
- linux
- osx
sudo: false
branches:
except:
- /^v[0-9]/
env:
matrix:
- TRAVIS_NODE_VERSION="4.1"
- TRAVIS_NODE_VERSION="4.2"
- TRAVIS_NODE_VERSION="stable"
cache:
directories:
- node_modules
before_script:
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm
&& git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm
install $TRAVIS_NODE_VERSION
- npm install -g npm #want latest npm
- npm install
- git config --global user.email "[email protected]"
- git config --global user.name "Travis CI Build"
script:
- node --version
- npm --version
- if [ -n "TRAVIS_TAG" ]; then npm run ci-build-stable; else npm run ci-build; fi
notifications:
slack:
secure: 1JBhIYVAEGxoylBBOyOzw4ynj+2LUwl42elrWJ/JyR0uHvsLZB8FevSscxXk/lz2ltQD7mvfbPJHcnbvXJDNXmvAsliT0syy/Zz/ELexg5HaiYx6Hg7j5cfcMfl40byeJb2GUvigxNgj5DXA1DyZiesQ0vHKbua8F3HjBauNCVZeV6QGAkibDlvD+qwC6HZnJthgXYFYZZKZiHR2q2cyav/LkYJvvODtqwEa8cIR+ScHS/3MK7EgRYfCJ3YZbO7J5zwMbp0cdXdSR6VzY0jSwNNQr2LhWRCx46Z0V4VBlcPUrcft7Psum2vnbYDMp3TPo/M191iFFNZTyAyRGncNkVqJSBM6ypWKOwe/maH06gmoir+yVKzU0EIhOx9rlh7G6nOgl+Lk75d4IscPGPgt058BFGi0xY5qbbAd2krm9eM4NAcRK0cMeEw6Ln7m1/qXb9I1B9KEVsBhA8ou1pPoh7LtMIhs0SaQ2eLPES0NDRVL3zQ6JPFpycBr5OCA/AzlDiwv4MRbk6KMWygVggraa9Fq1BlptSrOVqEUPQj/0lLn7qfKkQOHAl4ICbznYhkXIz3wpXF7iXrahVd8R79l4gw2bt4xwsZiSVqsFb1XcSMvyBqkcUnxF1qOwTMAIxzlyXVU/27lZHNNJstpef426eIrtBDVGjRtlsz7vbwY9y8=