cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alsoro...@apache.org
Subject ios commit: CB-12960 Run tests on Node 4.x and 6.x This closes #323
Date Tue, 04 Jul 2017 08:19:07 GMT
Repository: cordova-ios
Updated Branches:
  refs/heads/master 17d6b8344 -> 26beb94e2


CB-12960 Run tests on Node 4.x and 6.x
This closes #323


Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/26beb94e
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/26beb94e
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/26beb94e

Branch: refs/heads/master
Commit: 26beb94e2d454917db0bb024ab75e8dd9759c028
Parents: 17d6b83
Author: Alexander Sorokin <alexander.sorokin@akvelon.com>
Authored: Tue Jul 4 10:32:48 2017 +0300
Committer: Alexander Sorokin <alexander.sorokin@akvelon.com>
Committed: Tue Jul 4 10:32:48 2017 +0300

----------------------------------------------------------------------
 .travis.yml | 30 ++++++++++++++++++------------
 1 file changed, 18 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/26beb94e/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 1f0e78b..16f480c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,19 +1,25 @@
 language: objective-c
 osx_image: xcode8.3
 sudo: false
+env:
+  matrix:
+  - TRAVIS_NODE_VERSION: '4.2'
+  - TRAVIS_NODE_VERSION: '6.11'
 before_install:
-    - npm cache clean -f
-    - npm install -g n
-    - node --version
+- 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
+- npm install
+- npm install ios-deploy
+- npm install -g codecov
 script:
-    - npm run jshint
-    - npm run unit-tests
-    - npm run e2e-tests
-    - open -b com.apple.iphonesimulator    
-    - npm run objc-tests
-    - npm run cover
+- npm run jshint
+- npm run unit-tests
+- npm run e2e-tests
+- open -b com.apple.iphonesimulator    
+- npm run objc-tests
+- npm run cover
 after_script: codecov


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message