Skip to content

Commit

Permalink
CB-14074 ios: Remove Node 4 from CI (#375)
Browse files Browse the repository at this point in the history
- Drops Node 4 from travis and appveyor
- Increase the engine requirement of node in package.json
- Added engineStrict to package.json. (Match with other platforms e.g cordova-android)
- Cleanup .travis.yml
  • Loading branch information
erisu authored and Chris Brody committed Aug 2, 2018
1 parent 84e12db commit f628f61
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 21 deletions.
35 changes: 16 additions & 19 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,27 @@ sudo: false

env:
matrix:
- TRAVIS_NODE_VERSION: '4.8.7'
- TRAVIS_NODE_VERSION: '6.13'
- TRAVIS_NODE_VERSION: '8'
- TRAVIS_NODE_VERSION: '10'
- TRAVIS_NODE_VERSION: '6'
- 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
- nvm install $TRAVIS_NODE_VERSION

install:
- npm install
- npm install ios-deploy
- npm install -g codecov
- 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
- node --version
- npm --version
- 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
- codecov
1 change: 0 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
environment:
matrix:
- nodejs_version: "4"
- nodejs_version: "6"
- nodejs_version: "8"
- nodejs_version: "10"
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@
"tmp": "^0.0.26"
},
"engines": {
"node": ">=4"
"node": ">=6"
},
"engineStrict": true,
"dependencies": {
"cordova-common": "2.1.0",
"ios-sim": "^6.1.2",
Expand Down

0 comments on commit f628f61

Please sign in to comment.