forked from signum-network/phoenix
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
51 lines (47 loc) · 1.31 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
os: osx
language: node_js
node_js: '12'
addons:
homebrew:
packages:
- rpm
cache:
directories:
# - node_modules
- "$HOME/.cache/electron"
- "$HOME/.cache/electron-builder"
before_script:
- npm i @angular/cli -g
jobs:
include:
- stage: prepare
name: "Run BurstJS Tests"
script: './scripts/ci/test-burstjs.sh'
- # parallel run
name: "Bundle BurstJS"
script: './scripts/ci/bundle-burstjs.sh'
- # parallel run
name: "Run Angular Tests"
script: './scripts/ci/test-ng.sh'
- stage: desktop-build
name: "Build Desktop App"
script: './scripts/ci/build-electron.sh'
- stage: desktop-deploy
name: "Build and Deploy Desktop App"
script: './scripts/ci/release-desktop.sh --publish'
- stage: force-deploy
name: "Forced Build and Deploy Desktop App"
script: './scripts/ci/release-desktop.sh --publish'
- stage: nightly-release
name: "Nightly Release of Desktop App"
script: './scripts/ci/nightly-desktop.sh'
stages:
- prepare
- name: desktop-build
if: type!=cron OR tag!=~/^desktop-\d+\.\d+\.\d+/ OR branch!=~/^force-deploy/
- name: desktop-deploy
if: tag=~/^desktop-\d+\.\d+\.\d+/
- name: force-deploy
if: branch=~/^force-deploy/
- name: nightly-release
if: branch=develop AND type=cron