Skip to content

Commit 26beb94

Browse files
committed
CB-12960 Run tests on Node 4.x and 6.x
This closes apache#323
1 parent 17d6b83 commit 26beb94

File tree

1 file changed

+18
-12
lines changed

1 file changed

+18
-12
lines changed

.travis.yml

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,25 @@
11
language: objective-c
22
osx_image: xcode8.3
33
sudo: false
4+
env:
5+
matrix:
6+
- TRAVIS_NODE_VERSION: '4.2'
7+
- TRAVIS_NODE_VERSION: '6.11'
48
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
814
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
1218
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
1925
after_script: codecov

0 commit comments

Comments
 (0)