-
Notifications
You must be signed in to change notification settings - Fork 10
/
.travis.yml
51 lines (45 loc) · 1.69 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
sudo: false
android:
components:
- tools
- platform-tools
- build-tools-28.0.3
- android-24 # needed for test vms
- android-28
- extra-android-m2repository
- sys-img-arm64-v8a-android-24
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: deploy
if: branch = release
language: node_js
node_js: "8"
before_deploy:
- cd bin/dist
deploy:
provider: npm
email: "[email protected]"
api_key:
secure: "cquM6mrK7+98oTUN6xSGSg69PzC4iBebDezUEkkwpyjqcfPmd60hZrbhtnc7pQo89Sg7c4tXLS9mBJJQZHYOefsMlx9+a3wMKI5+BzC4373PIXJTj0Zd9WqQl6sVE0BVqrBo/rnOo6Q5GeRrJmmGThTN6JdMCLeEoEPeeq7eEiCghv5sshpacAol4eGE+KvZTPVYZiJXb+qTj0SUGI+nv3p8ls4FTEz7ZoN6/zyIDhLnXXejg/XF3wenIgMaDDHfF1sdiSj/4ZlBnpwY5VLU1W7ILP0GMnl+p6l8qyiiyaeAadPlpgVA+IN1fJ6rPVpwa1TRDe5oARIbAMTGyy3LK1OjSGsTe0g4EAgsV6shuHrhfiTHLeiWVNZ4+2hUFBqVFjL6IN1MBX3CJU4Pw3/xLvERHImvHPjQK1Po+zxfHUBVmCWT82FxLFPyWGkVF1htBWDsbmJghBOc5FCsTRvfRtSIqADmUjgDZmVGD2oU8fcDOi8fTUQNCllq8Lo70sUG9FPIoAz0ZQr1r3IE92PVKk0hPYFTiFnDv4+QmlyxH9oVkIJL1gR8AtkomPzXZXXbB3Cgif8mz1AhM+jDrNSJ98vEzm6jA/RKAnPezfxXr+aGTu74yIqedZC9C2BNsFiTDjje3zyYHpSeXHnrLKvCQ9WRbMEWU52WQJcxUh9tFDY="
skip_cleanup: true
on:
branch: release