-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis-deprecated.yml
89 lines (88 loc) · 2.64 KB
/
.travis-deprecated.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
language: node_js
node_js:
- '14'
os: linux
addons:
chrome: stable
sonarcloud:
organization: "$SONAR_KEY"
token: "$SONAR_TOKEN"
branches:
only:
- master
- develop
- "/^v\\d+\\.\\d+(\\.\\d+)?(-\\S*)?$/"
script: skip
jobs:
include:
- stage: release
name: Build GitHub Release
if: tag IS present
script:
- sudo dpkg --add-architecture i386
- sudo apt-get -qq update
- sudo apt-get install wine1.6
- npm run lint
- npm run compodoc
- npm run release
- npm run test
- sonar-scanner -X
deploy:
provider: releases
api_key: "$GITHUB_TOKEN"
file_glob: true
file: dist/release/*
skip_cleanup: true
on:
tags: true
- stage: deploy
name: Deploy to Staging
if: branch = develop
script:
- npm run lint
- npm run build:staging
- npm run test
- sonar-scanner -X
deploy:
provider: pages
target-branch: staging
skip-cleanup: true
github-token: "$GITHUB_TOKEN"
keep-history: false
local-dir: dist/macroscope-kiosk
on:
branch: develop
- stage: deploy
name: Deploy to Production
if: branch = master
script:
- npm run lint
- npm run build:production
- npm run test
- sonar-scanner -X
deploy:
provider: pages
target-branch: production
skip-cleanup: true
github-token: "$GITHUB_TOKEN"
keep-history: false
local-dir: dist/macroscope-kiosk
on:
branch: master
- stage: deploy
name: Deploy compodoc to gh-pages
if: branch = master
script:
- npm run compodoc
deploy:
provider: pages
target-branch: gh-pages
skip-cleanup: true
github-token: "$GITHUB_TOKEN"
keep-history: false
local-dir: dist/docs
on:
branch: master
notifications:
slack:
secure: YYJ5rzDaQjHrgKQeZmrjglaM7syTkhNplVS/SjXCOUPXWlsvOB65W/GBmlAZukgda3rNXYjH9SUMLXehJQGtUxZKXZxhjrVLID3sIdc576q6gV61wgp0tGcIfWqwuBkrgmkbGc+dwjYMPZDZYf+IqBQpSYVjgUileuBJ2QQu1TOtM5dSRv3PY6cXVgJcdienxn21udoYIDePuq9mdJnPtGmJivseGfFKQeV0p9fdesfsOMRQQHNnsLLTYk9uiuODk/Y9zK2sJ48n4nRw4PhwgIu/Fn8DqEuFlFteVw0EcnMStaBdv1z8hZg2CU8FledctqgRKL7VKrDYW22TE4pq9eyj0H7nulXTeSszOcbcNOpM4qPzR4JrYflBpXC2Fp+Z8exiaCKqd6uvR1MsSC0B/m+EK/jjFpZXBohRGIApN3czLjlCPBuOSSx/7v+Y3TLUS+X2JKksnoofVauHF230kEsKY/Bd0A17BTEJ2BP1XEzmDEPuZqFmE4q0UfcOetHvRfGDMlq0RNO0mSOUOZhia0Uzj3fVex2hm1bqtegeQlszBjtvb7At+mHHneKhKMZVTdcJoKb8n/rL8REsg5lNWnWU71UhUf9zCFwUplV0scIKWWJPXvAMCHMNOYUWQOy/0e7lzNEX/29jhZFf6QZn/6ziLhWYIHTi5rwZ7V3ntXQ=