Skip to content

Commit dac0f3e

Browse files
committed
Only test on latest cordova
1 parent db3b661 commit dac0f3e

File tree

2 files changed

+8
-76
lines changed

2 files changed

+8
-76
lines changed

.travis.yml

Lines changed: 2 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -5,52 +5,6 @@ env:
55

66
matrix:
77
include:
8-
- os: linux
9-
sudo: false
10-
language: android
11-
android:
12-
components:
13-
- tools-26.0.0
14-
- platform-tools-26.0.0
15-
- build-tools-26.0.0
16-
- android-26.0.0
17-
- extra-google-google_play_services
18-
- extra-google-m2repository
19-
- extra-android-m2repository
20-
addons:
21-
apt:
22-
packages:
23-
- oracle-java8-installer
24-
- oracle-java8-set-default
25-
licenses:
26-
- android-sdk-preview-license-.+
27-
- android-sdk-license-.+
28-
- google-gdk-license-.+
29-
env: CORDOVA_VERSION="6.5.0" CORDOVA_PLATFORM="android" CORDOVA_PLATFORM_VERSION="6.4.0"
30-
31-
- os: linux
32-
sudo: false
33-
language: android
34-
android:
35-
components:
36-
- tools-26.0.0
37-
- platform-tools-26.0.0
38-
- build-tools-26.0.0
39-
- android-26.0.0
40-
- extra-google-google_play_services
41-
- extra-google-m2repository
42-
- extra-android-m2repository
43-
addons:
44-
apt:
45-
packages:
46-
- oracle-java8-installer
47-
- oracle-java8-set-default
48-
licenses:
49-
- android-sdk-preview-license-.+
50-
- android-sdk-license-.+
51-
- google-gdk-license-.+
52-
env: CORDOVA_VERSION="7.1.0" CORDOVA_PLATFORM="android" CORDOVA_PLATFORM_VERSION="7.1.0"
53-
548
- os: linux
559
sudo: false
5610
language: android
@@ -77,26 +31,10 @@ matrix:
7731
- os: osx
7832
language: objective-c
7933
osx_image: xcode9.4
80-
env: CORDOVA_VERSION="6.5.0" CORDOVA_PLATFORM="ios" CORDOVA_PLATFORM_VERSION="4.5.4"
81-
82-
- os: osx
83-
language: objective-c
84-
osx_image: xcode9.4
85-
env: CORDOVA_VERSION="7.1.0" CORDOVA_PLATFORM="ios" CORDOVA_PLATFORM_VERSION="4.5.4"
86-
87-
- os: osx
88-
language: objective-c
89-
osx_image: xcode9.4
90-
env: CORDOVA_VERSION="8.0.0" CORDOVA_PLATFORM="ios" CORDOVA_PLATFORM_VERSION="4.5.4"
91-
92-
- os: linux
93-
env: CORDOVA_VERSION="6.5.0" CORDOVA_PLATFORM="browser" CORDOVA_PLATFORM_VERSION="5.0.3"
94-
95-
- os: linux
96-
env: CORDOVA_VERSION="7.1.0" CORDOVA_PLATFORM="browser" CORDOVA_PLATFORM_VERSION="5.0.3"
34+
env: CORDOVA_VERSION="8.1.2" CORDOVA_PLATFORM="ios" CORDOVA_PLATFORM_VERSION="4.5.5"
9735

9836
- os: linux
99-
env: CORDOVA_VERSION="8.0.0" CORDOVA_PLATFORM="browser" CORDOVA_PLATFORM_VERSION="5.0.3"
37+
env: CORDOVA_VERSION="8.1.2" CORDOVA_PLATFORM="browser" CORDOVA_PLATFORM_VERSION="5.0.3"
10038

10139
before_install:
10240
- nvm install 8

package.json

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,12 @@
3232
"version": "node ./bump-version.js && git add -A plugin.xml",
3333
"postversion": "git push && git push --tags && npm publish --verbose",
3434
"test": "npm run test:ios && npm run test:android && npm run test:browser",
35-
36-
37-
38-
"test:[email protected]:[email protected]": "bash ./test/test-default.sh 6.5.0 ios 4.5.4",
39-
"test:[email protected]:[email protected]": "bash ./test/test-default.sh 7.1.0 ios 4.5.4",
40-
"test:[email protected]:[email protected]": "bash ./test/test-default.sh 8.0.0 ios 4.5.4",
41-
"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",
42-
"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",
43-
"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",
44-
"test:[email protected]:[email protected]": "bash ./test/test-default.sh 6.5.0 browser 5.0.3",
45-
"test:[email protected]:[email protected]": "bash ./test/test-default.sh 7.1.0 browser 5.0.3",
46-
"test:[email protected]:[email protected]": "bash ./test/test-default.sh 8.0.0 browser 5.0.3"
35+
"test:android": "npm run test:[email protected]:[email protected]",
36+
"test:browser": "npm run test:[email protected]:[email protected]",
37+
"test:ios": "npm run test:[email protected]:[email protected]",
38+
"test:[email protected]:[email protected]": "bash ./test/test-default.sh 8.1.2 ios 4.5.5",
39+
"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",
40+
"test:[email protected]:[email protected]": "bash ./test/test-default.sh 8.1.2 browser 5.0.3"
4741
},
4842
"dependencies": {}
4943
}

0 commit comments

Comments
 (0)