forked from arnesson/cordova-plugin-firebase
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
79 lines (70 loc) · 2.11 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
env:
global:
- JAVA_HOME=/usr/lib/jvm/java-8-oracle
- LANG=en_US.UTF-8
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="cordova@6.5.0" CORDOVA_PLATFORM="android" SCRIPT_NAME="build-android-v6.sh"
- 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="cordova@7.1.0" CORDOVA_PLATFORM="android" SCRIPT_NAME="build-android-v7.sh"
- os: osx
language: objective-c
osx_image: xcode8.3
env: CORDOVA_VERSION="cordova@6.5.0" CORDOVA_PLATFORM="ios" SCRIPT_NAME="build-ios-v4.sh"
- os: osx
language: objective-c
osx_image: xcode8.3
env: CORDOVA_VERSION="cordova@7.1.0" CORDOVA_PLATFORM="ios" SCRIPT_NAME="build-ios-v4.sh"
- os: linux
env: CORDOVA_VERSION="cordova@6.5.0" CORDOVA_PLATFORM="browser" SCRIPT_NAME="build-browser-v5.sh"
- os: linux
env: CORDOVA_VERSION="cordova@7.1.0" CORDOVA_PLATFORM="browser" SCRIPT_NAME="build-browser-v5.sh"
before_install:
- nvm install 8
- PATH=$TRAVIS_BUILD_DIR/node_modules/.bin:$PATH ; export PATH
- if [[ "$CORDOVA_PLATFORM" == "android" ]]; then yes | sdkmanager "build-tools;26.0.0" "platforms;android-26" ; fi
before_script:
- npm install $CORDOVA_VERSION
script:
- sh $SCRIPT_NAME