You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by al...@apache.org on 2017/07/10 04:34:42 UTC

cordova-plugin-wkwebview-engine git commit: CB-12935: (CI) Build the plugin for Android platform on Travis

Repository: cordova-plugin-wkwebview-engine
Updated Branches:
  refs/heads/master 0e23503aa -> 9a7de3bc6


CB-12935: (CI) Build the plugin for Android platform on Travis


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/commit/9a7de3bc
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/tree/9a7de3bc
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/diff/9a7de3bc

Branch: refs/heads/master
Commit: 9a7de3bc610bc44dd0eacc4969037973054104c3
Parents: 0e23503
Author: Alexander Sorokin <al...@akvelon.com>
Authored: Fri Jul 7 14:01:47 2017 +0300
Committer: Alexander Sorokin <al...@akvelon.com>
Committed: Fri Jul 7 15:18:26 2017 +0300

----------------------------------------------------------------------
 .travis.yml | 25 +++++++++++++++++++------
 1 file changed, 19 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/blob/9a7de3bc/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 4da8829..caa4ac1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,14 +8,22 @@ env:
   - TRAVIS_NODE_VERSION="4.2"
 matrix:
   include:
-  - env: PLATFORM=ios-9.3
+  - env: PLATFORM=ios-9.3 SHOULD_USE_SAUCE=--shouldUseSauce
     os: osx
     osx_image: xcode8
     language: objective-c
-  - env: PLATFORM=ios-10.0
+  - env: PLATFORM=ios-10.0 SHOULD_USE_SAUCE=--shouldUseSauce
     os: osx
     osx_image: xcode8
     language: objective-c
+  - env: PLATFORM=android-7.0 SHOULD_USE_SAUCE=--justBuild
+    os: linux
+    language: android
+    jdk: oraclejdk8
+    android:
+      components:
+      - tools
+      - tools
 before_install:
 - rvm get head
 - npm cache clean -f
@@ -23,14 +31,19 @@ before_install:
   && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm
   install $TRAVIS_NODE_VERSION
 - node --version
-- xcodebuild -version
-- npm install -g ios-deploy
+- if [[ "$PLATFORM" =~ android ]]; then gradle --version; fi
+- if [[ "$PLATFORM" =~ ios ]]; then xcodebuild -version; fi
+- if [[ "$PLATFORM" =~ ios ]]; then npm install -g ios-deploy; fi
+- if [[ "$PLATFORM" =~ android ]]; then echo y | android update sdk -u --filter android-22,android-23,android-24,android-25;
+  fi
 - git clone https://github.com/apache/cordova-paramedic /tmp/paramedic && pushd /tmp/paramedic
   && npm install && popd
 - npm install -g cordova
 install:
 - npm install
 script:
-- npm test
-- node /tmp/paramedic/main.js --config pr/$PLATFORM --plugin $(pwd) --shouldUseSauce
+- if [[ "$PLATFORM" =~ ios ]]; then npm test; fi
+- node /tmp/paramedic/main.js --config pr/$PLATFORM --plugin $(pwd) $SHOULD_USE_SAUCE
   --buildName travis-plugin-wkwebview-engine-$TRAVIS_JOB_NUMBER
+
+  
\ No newline at end of file


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