File tree Expand file tree Collapse file tree 1 file changed +18
-12
lines changed Expand file tree Collapse file tree 1 file changed +18
-12
lines changed Original file line number Diff line number Diff line change 1
1
language : objective-c
2
2
osx_image : xcode8.3
3
3
sudo : false
4
+ env :
5
+ matrix :
6
+ - TRAVIS_NODE_VERSION : ' 4.2'
7
+ - TRAVIS_NODE_VERSION : ' 6.11'
4
8
before_install :
5
- - npm cache clean -f
6
- - npm install -g n
7
- - node --version
9
+ - npm cache clean -f
10
+ - rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm
11
+ && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm
12
+ install $TRAVIS_NODE_VERSION
13
+ - node --version
8
14
install :
9
- - npm install
10
- - npm install ios-deploy
11
- - npm install -g codecov
15
+ - npm install
16
+ - npm install ios-deploy
17
+ - npm install -g codecov
12
18
script :
13
- - npm run jshint
14
- - npm run unit-tests
15
- - npm run e2e-tests
16
- - open -b com.apple.iphonesimulator
17
- - npm run objc-tests
18
- - npm run cover
19
+ - npm run jshint
20
+ - npm run unit-tests
21
+ - npm run e2e-tests
22
+ - open -b com.apple.iphonesimulator
23
+ - npm run objc-tests
24
+ - npm run cover
19
25
after_script : codecov
You can’t perform that action at this time.
0 commit comments