-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path.travis.yml
More file actions
68 lines (66 loc) · 2.16 KB
/
.travis.yml
File metadata and controls
68 lines (66 loc) · 2.16 KB
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
if: (branch = master AND commit_message !~ /(release:)/) OR tag IS present OR type = pull_request
stages:
- lint
- build
- name: deploy
if: tag IS present
matrix:
include:
- stage: lint
language: node_js
os: linux
node_js: '10'
script:
- cd src && npm run ci.tslint
- cd ../demo && npm run ci.tslint
- stage: build
language: android
env:
- BuildAndroid="28"
os: linux
jdk: oraclejdk8
before_install: nvm install 10
script:
- cd src && npm i && npm run tsc && cd ../demo && tns build android && cd ../demo_angular && tns build android
- os: osx
env:
- BuildiOS="12"
- Xcode="10.2"
osx_image: xcode10.2
language: node_js
node_js: '10'
jdk: oraclejdk8
script:
- pod repo update && cd src && npm i && npm run tsc && cd ../demo && tns build ios && cd ../demo_angular && tns build ios
- stage: deploy
language: node_js
os: linux
node_js: '10'
script:
- ls
- cd publish
- ./prepare.sh
- cd src
deploy:
skip_cleanup: true
provider: npm
email: florian@rocketloop.de
api_key:
secure: xAqgDxIPtklRhrSTvm8v0cw8eR6wIeSghgQwZm/usiAfnjjL9bESSccNk6P1KjkQUg5npMln4uZhNerSv9KZ/1T8Hs/ZWegJ6eGkIz45grpM1SOcUKypjlOQBxg7Pp6DH4C7oPE6cIioSIfamzEyGD7jhu7T6LD+i5sw5+8tbBCfe1NDgXEI8VoPlQJjgE6w246ACRSFrBDnywszo5YkR0AByntUS56kBRHjccvxFdhmSqShOsDQsI0ZCwimofLPv7oFFgXeE6nLGQdxiQlfuGMJbJP+B4rw4VTmGoE1zrOaQf2nrPMAa3N/JDxWIkwM1aKyerJ/5nEA2+A0pxJjua6TFRdO/oOTj2JcJHmWJsvJnws1fbEJup40yXHlwt4DeOhUchUmw6iCc9deKDjD2cJE8k4TiKaOyZPZ2wimAHb7tJivSThzoa1GLnAhnd/OGBnl5WSdhvZ7N4PkN6PpRtoWqa/dufUj/YiZls5L85u1IGOoEKnKb283wHppKkvYWor41jWCJNLLZEPJvlY90ILR00IRhGTre2QNkjaCAGzRIxAvSgI5WT34ewZpQvcFiDoILOacgEZPAcavdGrZgYKmtPw1xFpbM25zO47ntfBo0KCxzLUpDumYbF8N7SbIl9poh55Th8TPZGSJP89WnfR1JlXtqv0Qe+/tXEKERWA=
on:
tags: true
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