Skip to content

Commit

Permalink
Only test on latest cordova
Browse files Browse the repository at this point in the history
  • Loading branch information
karlbohlmark committed Nov 29, 2018
1 parent db3b661 commit dac0f3e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 76 deletions.
66 changes: 2 additions & 64 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,52 +5,6 @@ env:

matrix:
include:
- os: linux
sudo: false
language: android
android:
components:
- tools-26.0.0
- platform-tools-26.0.0
- build-tools-26.0.0
- android-26.0.0
- extra-google-google_play_services
- extra-google-m2repository
- extra-android-m2repository
addons:
apt:
packages:
- oracle-java8-installer
- oracle-java8-set-default
licenses:
- android-sdk-preview-license-.+
- android-sdk-license-.+
- google-gdk-license-.+
env: CORDOVA_VERSION="6.5.0" CORDOVA_PLATFORM="android" CORDOVA_PLATFORM_VERSION="6.4.0"

- os: linux
sudo: false
language: android
android:
components:
- tools-26.0.0
- platform-tools-26.0.0
- build-tools-26.0.0
- android-26.0.0
- extra-google-google_play_services
- extra-google-m2repository
- extra-android-m2repository
addons:
apt:
packages:
- oracle-java8-installer
- oracle-java8-set-default
licenses:
- android-sdk-preview-license-.+
- android-sdk-license-.+
- google-gdk-license-.+
env: CORDOVA_VERSION="7.1.0" CORDOVA_PLATFORM="android" CORDOVA_PLATFORM_VERSION="7.1.0"

- os: linux
sudo: false
language: android
Expand All @@ -77,26 +31,10 @@ matrix:
- os: osx
language: objective-c
osx_image: xcode9.4
env: CORDOVA_VERSION="6.5.0" CORDOVA_PLATFORM="ios" CORDOVA_PLATFORM_VERSION="4.5.4"

- os: osx
language: objective-c
osx_image: xcode9.4
env: CORDOVA_VERSION="7.1.0" CORDOVA_PLATFORM="ios" CORDOVA_PLATFORM_VERSION="4.5.4"

- os: osx
language: objective-c
osx_image: xcode9.4
env: CORDOVA_VERSION="8.0.0" CORDOVA_PLATFORM="ios" CORDOVA_PLATFORM_VERSION="4.5.4"

- os: linux
env: CORDOVA_VERSION="6.5.0" CORDOVA_PLATFORM="browser" CORDOVA_PLATFORM_VERSION="5.0.3"

- os: linux
env: CORDOVA_VERSION="7.1.0" CORDOVA_PLATFORM="browser" CORDOVA_PLATFORM_VERSION="5.0.3"
env: CORDOVA_VERSION="8.1.2" CORDOVA_PLATFORM="ios" CORDOVA_PLATFORM_VERSION="4.5.5"

- os: linux
env: CORDOVA_VERSION="8.0.0" CORDOVA_PLATFORM="browser" CORDOVA_PLATFORM_VERSION="5.0.3"
env: CORDOVA_VERSION="8.1.2" CORDOVA_PLATFORM="browser" CORDOVA_PLATFORM_VERSION="5.0.3"

before_install:
- nvm install 8
Expand Down
18 changes: 6 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,12 @@
"version": "node ./bump-version.js && git add -A plugin.xml",
"postversion": "git push && git push --tags && npm publish --verbose",
"test": "npm run test:ios && npm run test:android && npm run test:browser",
"test:android": "npm run test:[email protected]:[email protected] && npm run test:[email protected]:[email protected] && npm run test:[email protected]:[email protected]",
"test:browser": "npm run test:[email protected]:[email protected] && npm run test:[email protected]:[email protected] && npm run test:[email protected]:[email protected]",
"test:ios": "npm run test:[email protected]:[email protected] && npm run test:[email protected]:[email protected] && npm run test:[email protected]:[email protected]",
"test:[email protected]:[email protected]": "bash ./test/test-default.sh 6.5.0 ios 4.5.4",
"test:[email protected]:[email protected]": "bash ./test/test-default.sh 7.1.0 ios 4.5.4",
"test:[email protected]:[email protected]": "bash ./test/test-default.sh 8.0.0 ios 4.5.4",
"test:[email protected]:[email protected]": "bash ./test/test-default.sh 6.5.0 android 6.4.0 && bash ./test/test-with-3-plugins.sh 6.5.0 android 6.4.0 cordova-plugin-request-location-accuracy cordova-android-play-services-gradle-release cordova-android-firebase-gradle-release",
"test:[email protected]:[email protected]": "bash ./test/test-default.sh 7.1.0 android 7.1.0 && bash ./test/test-with-3-plugins.sh 7.1.0 android 7.1.0 cordova-plugin-request-location-accuracy cordova-android-play-services-gradle-release cordova-android-firebase-gradle-release",
"test:[email protected]:[email protected]": "bash ./test/test-default.sh 8.0.0 android 7.1.0 && bash ./test/test-with-3-plugins.sh 8.0.0 android 7.1.0 cordova-plugin-request-location-accuracy cordova-android-play-services-gradle-release cordova-android-firebase-gradle-release",
"test:[email protected]:[email protected]": "bash ./test/test-default.sh 6.5.0 browser 5.0.3",
"test:[email protected]:[email protected]": "bash ./test/test-default.sh 7.1.0 browser 5.0.3",
"test:[email protected]:[email protected]": "bash ./test/test-default.sh 8.0.0 browser 5.0.3"
"test:android": "npm run test:[email protected]:[email protected]",
"test:browser": "npm run test:[email protected]:[email protected]",
"test:ios": "npm run test:[email protected]:[email protected]",
"test:[email protected]:[email protected]": "bash ./test/test-default.sh 8.1.2 ios 4.5.5",
"test:[email protected]:[email protected]": "bash ./test/test-default.sh 8.1.2 android 7.1.0 && bash ./test/test-with-3-plugins.sh 8.1.2 android 7.1.0 cordova-plugin-request-location-accuracy cordova-android-play-services-gradle-release cordova-android-firebase-gradle-release",
"test:[email protected]:[email protected]": "bash ./test/test-default.sh 8.1.2 browser 5.0.3"
},
"dependencies": {}
}

0 comments on commit dac0f3e

Please sign in to comment.