-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
100 lines (90 loc) · 2.75 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
sudo: false
android:
components:
- tools
- platform-tools
- build-tools-28.0.3
- android-23
- android-28
- 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
- echo no | npm install -g grunt-cli
- npm install
- grunt compile
matrix:
include:
- stage: lint
language: node_js
os: linux
node_js: "8"
script: grunt lint
- stage: build
language: android
os: linux
env:
- Android="28"
jdk: oraclejdk8
before_install: nvm install 8.11.3
script: "grunt ci:build:android"
- stage: build
os: osx
env:
- iOS="10.3"
- Xcode="9.4"
osx_image: xcode9.4
language: node_js
node_js: "8"
jdk: oraclejdk8
before_install:
- pip install --upgrade pip
- pip install --user --upgrade matplotlib
- pip install six
script: "grunt ci:build:ios"
- stage: webpack
language: android
os: linux
env:
- Android="28"
- Platform="Android"
jdk: oraclejdk8
before_install: nvm install 8.11.3
script: "grunt ci:webpack:android"
- stage: webpack
os: osx
env:
- iOS="10.3"
- Xcode="9.4"
- Platform="iOS"
osx_image: xcode9.4
language: node_js
node_js: "8"
jdk: oraclejdk8
before_install:
- pip install --upgrade pip
- pip install --user --upgrade matplotlib
- pip install six
script: "grunt ci:webpack:ios"
- stage: deploy
if: branch = release
language: node_js
node_js: "8"
before_deploy:
- cd bin/dist
deploy:
provider: npm
email: "[email protected]"
api_key:
secure: "uygB69ZcljMFQ4CD+l/zfXZP+cK4kXkhf44BP2U+T4H268m4fO/Y8v+bsCuoqwGV999Dvxf9JRjPUVgqfYJmMPT7zg28snFefrZoYx0nJCZmZsXQHHaSUEffKaYWBRy2bZqrXpthIF484GHt803ucC8omOiyfS0gMvmoGHejUk0XlhmI7K9klkrVbn9MOwf4ZeVK1IhxbTyW8s7A1FcoBPUecqalson/mUPzKC+2MmburFvUrl842yMxQY0GHFfOSico4c1JQ5RbEOnPI+95xFM4Tk8N7wH7SmprjvRd4MWLZu9UyDL8wY+sMSRk8I+MrfVMYQKcLC3mJAgpHtopnrqHAv7v9Q1cVLobKFM76NvIN4JB2dbbvxpNsQRBc6KAvhlMohB6bvpes/4HrAivgM2v9UdUtYET/hZuQ2wAQCVdSyeiMjJ+dtz2EzgkGc5iZnoq33u6RfdP4YGHOzSy+CzkN/W05LPCJFLrR0ABIWFQk00qjmFc8E691DX/1hQKE6ixYeCH6MzwrQOz7lbVgEmLffFhxG6j3os7BaDB+L5+pCFxDC41NWldK3VV5LjbDcd1OvO/+ERat/8kF4nQq6nsbcEtisQOPu3fsK6mVggNXKn2+I+01h5p45grlEM1Au2IlGTX2AgplK7lFKNwDfisNNGruxd4TzBD3LyzTn8="
skip_cleanup: true
on:
branch: release