forked from EddyVerbruggen/nativescript-plugin-firebase
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
80 lines (74 loc) · 1.71 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
80
android:
components:
- tools
- platform-tools
- build-tools-27.0.3
- android-23
- android-26
- extra-android-m2repository
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- .nvm
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
install:
- echo no | npm install -g nativescript
- tns usage-reporting disable
- tns error-reporting disable
- cd src
- npm i --ignore-scripts
- npm run tsc
- npm run package
- cd ../demo
- npm i
script:
matrix:
include:
- stage: "Lint"
language: node_js
os: linux
node_js: "8"
script: "npm run ci.tslint"
- stage: "WebPack"
os: osx
env:
- Webpack="iOS"
osx_image: xcode9.2
language: node_js
node_js: "8"
jdk: oraclejdk8
before_install:
- gem install cocoapods
- pod repo update
script: travis_wait travis_retry tns build ios --bundle
- language: android
os: linux
env:
- Webpack="Android"
jdk: oraclejdk8
before_install: nvm install 8.11.4
script: travis_wait travis_retry tns build android --bundle
- stage: "Build"
env:
- BuildAndroid="26"
language: android
os: linux
jdk: oraclejdk8
before_install: nvm install 8.11.4
script:
- travis_wait travis_retry tns build android
- os: osx
env:
- BuildiOS="11"
- Xcode="9.2"
osx_image: xcode9.2
language: node_js
node_js: "8"
jdk: oraclejdk8
before_install:
- gem install cocoapods
- pod repo update
script:
- travis_wait travis_retry tns build ios