-
Notifications
You must be signed in to change notification settings - Fork 65
/
.travis.yml
50 lines (44 loc) · 1.63 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
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: "10"
script: grunt lint
- stage: deploy
if: branch = release
language: node_js
node_js: "10"
before_deploy:
- cd bin/dist
deploy:
provider: npm
email: "[email protected]"
api_key:
secure: "nACxYVvAQqzzg7NuWG93BmaX8PtOpmi4GMF4w9QSqqoy6W5mmpVHZ6ZzAnGD7k/kU+OQ6MqLi3Yn7vU/rFqth9chTA/5GSUhfkzUnRGa9/K3E0/3rGiH+LIuCgelq3zdeSlWCRhZMu7pnNJdGSZkostzPX97K+KiNjMogc8IHIOkkvJDt/yITW2+p93imb2p6uxoykIvlWGmStYAUI0mHdikHxLw+dIdnTZDYVt5XIhoa5a3VkQ0QhTPXwlYDOjPa9wSGIp5U83UFgb8+va1gJUUgllcqluP1TKoBbPE6l2zJv/NiGFPBA61hmXOZ8G8XT/ErPgiw2jTxYW1JRg+OGnUfuL4Uo9twOKfCluCWaipirJfVLEMPpt0BR0WEM392vjLOgT3lGIwa5M5bZK2B5aY5/+B/Rruv+hzYeDTEcVGhTChvA6YvQzs7mCTQ/ODVJd9unB/yfnYw6u9Vr0voJCsVkrhqThIWoYb8Yu4GnMKjGg/bv5l0k5shE1qzmpzB/PMecdDcUbdGPA2+uYvORuHhnkk1Ct8CC6iM/66kF/VTkBsaQel1nMVWnPlsNbMd62Yr8c9T+6pKUY7jjZ7qFbEDHdvFeWiD9wM6vD59Xnx1o87WxZNuGgY2ysfVWGdCc0USrz4zIgW51tSUD2BuukTKR0f/8cSvWpTw9TvRZk="
skip_cleanup: true
on:
branch: release