forked from arnesson/cordova-plugin-firebase
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
75 lines (68 loc) · 1.74 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
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
- platform-tools
- tools
- build-tools-26.0.0
- android-25
- 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_NPM="[email protected]" SCRIPT_NAME="build-android-v6.sh"
- os: linux
sudo: false
language: android
android:
components:
- tools
- platform-tools
- tools
- build-tools-26.0.0
- android-25
- 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_NPM="[email protected]" SCRIPT_NAME="build-android-v7.sh"
- os: osx
language: objective-c
osx_image: xcode8.3
env: CORDOVA_NPM="[email protected]" SCRIPT_NAME="build-ios-v4.sh"
- os: osx
language: objective-c
osx_image: xcode8.3
env: CORDOVA_NPM="[email protected]" SCRIPT_NAME="build-ios-v4.sh"
before_install:
- nvm install 8
- PATH=$TRAVIS_BUILD_DIR/node_modules/.bin:$PATH ; export PATH
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then yes | sdkmanager "platforms;android-26" ; fi
before_script:
- npm install $CORDOVA_NPM
script:
- sh $SCRIPT_NAME