-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
.travis.yml
54 lines (51 loc) · 1.58 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
matrix:
include:
- stage: "WebPack, Build and Test"
os: osx
env:
- WebPack="iOS"
osx_image: xcode10.0
language: node_js
node_js: "8"
jdk: oraclejdk8
script: cd src && npm i && cd ../demo && npm i && tns build ios --bundle --env.uglify && cd ../demo-angular && npm i && tns build ios --bundle --env.uglify --env.aot
- language: android
os: linux
env:
- WebPack="Android"
jdk: oraclejdk8
before_install: nvm install 8
script: cd src && npm i && cd ../demo && npm i && tns build android --bundle --env.uglify --env.snapshot && cd ../demo-angular && tns build android --bundle --env.uglify --env.snapshot --env.aot
- language: android
env:
- BuildAndroid="28"
os: linux
jdk: oraclejdk8
before_install: nvm install stable
script:
- cd src && npm i && cd ../demo && tns build android && cd ../demo-angular && tns build android
- os: osx
env:
- BuildiOS="12"
- Xcode="10.0"
osx_image: xcode10.0
language: node_js
node_js: "8"
jdk: oraclejdk8
script:
- cd src && npm i && cd ../demo && tns build ios && cd ../demo-angular && tns build ios
android:
components:
- tools
- platform-tools
- build-tools-28.0.3
- android-28
- extra-android-m2repository
- sys-img-armeabi-v7a-android-21
before_install:
- sudo pip install --upgrade pip
- sudo pip install six
install:
- echo no | npm install -g nativescript
- tns usage-reporting disable
- tns error-reporting disable