Skip to content

Commit de86501

Browse files
author
Chris Brody
authored
Merge pull request #277 from brodybits/quick-ci-fixes
Quick CI fixes
2 parents 9cc7f69 + 07d9a99 commit de86501

File tree

3 files changed

+61
-39
lines changed

3 files changed

+61
-39
lines changed

.appveyor.yml

+2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@ install:
2121
- node --version
2222
- npm install -g cordova-paramedic@https://github.com./apache/cordova-paramedic.git
2323
- npm install -g cordova
24+
- npm install
2425

2526
build: off
2627

2728
test_script:
29+
- npm run eslint
2830
- cordova-paramedic --config pr\%PLATFORM% --plugin . %JUST_BUILD%

.travis.yml

+54-39
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
sudo: false
2+
23
addons:
34
jwt:
45
secure: TZ88IEvAw1bsWPWxvDzXdpi2NK0i3PN4hG15+vDpIt6wXGVPknjxuXWJeLj7TqBpAIvP7XDfS8ZvHVPLe7fe8oOchZPLuiDw9VVIk6cnHjE6wpoavdGc/1mDJ3Bi4PDcHwRUr5ng5spYQqqlTwcECkH/q7iPgudiFM6rlOlGRyA=
6+
57
env:
68
global:
79
- SAUCE_USERNAME=snay
810
- TRAVIS_NODE_VERSION="4.2"
11+
912
matrix:
1013
include:
1114
- env: PLATFORM=browser-chrome
@@ -16,10 +19,11 @@ matrix:
1619
os: linux
1720
language: node_js
1821
node_js: '4.2'
19-
- env: PLATFORM=browser-safari
20-
os: linux
21-
language: node_js
22-
node_js: '4.2'
22+
# TBD SKIP for now:
23+
# - env: PLATFORM=browser-safari
24+
# os: linux
25+
# language: node_js
26+
# node_js: '4.2'
2327
- env: PLATFORM=browser-edge
2428
os: linux
2529
language: node_js
@@ -29,11 +33,15 @@ matrix:
2933
osx_image: xcode7.3
3034
language: node_js
3135
node_js: '4.2'
32-
- env: PLATFORM=ios-10.0
33-
os: osx
34-
osx_image: xcode7.3
35-
language: node_js
36-
node_js: '4.2'
36+
# TBD SKIP for now:
37+
# - env: PLATFORM=ios-10.0
38+
# os: osx
39+
# osx_image: xcode7.3
40+
# language: node_js
41+
# node_js: '4.2'
42+
# FUTURE TBD:
43+
# - env: PLATFORM=ios-11.4
44+
# ...
3745
- env: PLATFORM=android-4.4
3846
os: linux
3947
language: android
@@ -44,36 +52,41 @@ matrix:
4452
- platform-tools
4553
- tools
4654
- build-tools-26.0.2
47-
- env: PLATFORM=android-5.1
48-
os: linux
49-
language: android
50-
jdk: oraclejdk8
51-
android:
52-
components:
53-
- tools
54-
- platform-tools
55-
- tools
56-
- build-tools-26.0.2
57-
- env: PLATFORM=android-6.0
58-
os: linux
59-
language: android
60-
jdk: oraclejdk8
61-
android:
62-
components:
63-
- tools
64-
- platform-tools
65-
- tools
66-
- build-tools-26.0.2
67-
- env: PLATFORM=android-7.0
68-
os: linux
69-
language: android
70-
jdk: oraclejdk8
71-
android:
72-
components:
73-
- tools
74-
- platform-tools
75-
- tools
76-
- build-tools-26.0.2
55+
# TBD SKIP for now:
56+
# - env: PLATFORM=android-5.1
57+
# os: linux
58+
# language: android
59+
# jdk: oraclejdk8
60+
# android:
61+
# components:
62+
# - tools
63+
# - platform-tools
64+
# - tools
65+
# - build-tools-26.0.2
66+
# - env: PLATFORM=android-6.0
67+
# os: linux
68+
# language: android
69+
# jdk: oraclejdk8
70+
# android:
71+
# components:
72+
# - tools
73+
# - platform-tools
74+
# - tools
75+
# - build-tools-26.0.2
76+
# - env: PLATFORM=android-7.0
77+
# os: linux
78+
# language: android
79+
# jdk: oraclejdk8
80+
# android:
81+
# components:
82+
# - tools
83+
# - platform-tools
84+
# - tools
85+
# - build-tools-26.0.2
86+
# FUTURE TBD:
87+
# - env: PLATFORM=android-8.?
88+
# ...
89+
7790
before_install:
7891
- rm -rf ~/.nvm && git clone https://github.com./creationix/nvm.git ~/.nvm && (cd ~/.nvm
7992
&& git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm
@@ -86,8 +99,10 @@ before_install:
8699
- git clone https://github.com./apache/cordova-paramedic /tmp/paramedic && pushd /tmp/paramedic
87100
&& npm install && popd
88101
- npm install -g cordova
102+
89103
install:
90104
- npm install
105+
91106
script:
92107
- npm test
93108
- node /tmp/paramedic/main.js --config pr/$PLATFORM --plugin $(pwd) --shouldUseSauce

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ description: Open an in-app browser window.
2424
|AppVeyor|Travis CI|
2525
|:-:|:-:|
2626
|[![Build status](https://ci.appveyor.com/api/projects/status/github/apache/cordova-plugin-inappbrowser?branch=master)](https://ci.appveyor.com/project/ApacheSoftwareFoundation/cordova-plugin-inappbrowser)|[![Build Status](https://travis-ci.org/apache/cordova-plugin-inappbrowser.svg?branch=master)](https://travis-ci.org/apache/cordova-plugin-inappbrowser)|
27+
|npm install|npm install|
28+
|eslint|eslint|
29+
||browser (chrome, firefox, edge)|
30+
||iOS (9.3) on Xcode 7.3|
31+
||Android (4.4)|
2732

2833
# cordova-plugin-inappbrowser
2934

0 commit comments

Comments
 (0)