Skip to content

Commit

Permalink
CI testing on Node.js versions 8 & 10 (#371)
Browse files Browse the repository at this point in the history
* .travis.yml cleanup

* appveyor.yml & .travis.yml add Node.js versions 8 & 10
  • Loading branch information
Christopher J. Brody authored Jun 15, 2018
1 parent fdd12a1 commit 46da4bc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,33 @@
language: objective-c
osx_image: xcode9.2
sudo: false

env:
matrix:
- TRAVIS_NODE_VERSION: '4.8.7'
- TRAVIS_NODE_VERSION: '6.13'
- TRAVIS_NODE_VERSION: '8'
- TRAVIS_NODE_VERSION: '10'

before_install:
- npm cache clean -f
- 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
- node --version

install:
- npm install
- npm install ios-deploy
- npm install -g codecov

script:
- npm run unit-tests
- npm run e2e-tests
- open -b com.apple.iphonesimulator
- npm run objc-tests
- npm run cover
- npm run eslint
after_script: codecov

after_script:
- codecov
2 changes: 2 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ environment:
matrix:
- nodejs_version: "4"
- nodejs_version: "6"
- nodejs_version: "8"
- nodejs_version: "10"

install:
- ps: Install-Product node $env:nodejs_version
Expand Down

0 comments on commit 46da4bc

Please sign in to comment.