-
Notifications
You must be signed in to change notification settings - Fork 18
/
.travis.yml
78 lines (71 loc) · 1.8 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
notifications:
email:
on_success: never
on_failure: change
matrix:
include:
- stage: "Build Plugin"
language: node_js
os: linux
node_js: "12"
before_install: echo
install: cd src && npm ci && cd ..
script: cd src && npm run ci.build
- stage: "Lint"
language: node_js
os: linux
node_js: "12"
before_install: echo
install: cd src && npm ci && cd ..
script: cd src && npm run ci.tslint
- stage: "Demo"
os: osx
env:
- Platform="iOS"
osx_image: xcode12.2
language: node_js
node_js: "12"
jdk: oraclejdk8
script: cd demo && tns build ios --env.uglify
- language: android
os: linux
env:
- Platform="Android"
jdk: oraclejdk8
script: cd demo && tns build android --env.uglify
- stage: "Demo Angular"
os: osx
env:
- Platform="iOS"
osx_image: xcode12.2
language: node_js
node_js: "12"
jdk: oraclejdk8
script: cd demo-ng && tns build ios --env.uglify
- language: android
os: linux
env:
- Platform="Android"
jdk: oraclejdk8
script: cd demo-ng && tns build android --env.uglify
before_install:
- sudo pip install --ignore-installed --upgrade six # https://github.com/NativeScript/nativescript-cli/issues/3534
- nvm install 12
install:
- echo no | npm install -g nativescript
- tns usage-reporting disable
- tns error-reporting disable
- cd src && npm ci && cd ..
android:
components:
- tools
- platform-tools
- build-tools-28.0.3
- android-28
- android-21
- extra-android-m2repository
- sys-img-armeabi-v7a-android-21
licenses:
- "android-sdk-preview-license-52d11cd2"
- "android-sdk-license-.+"
- "google-gdk-license-.+"