-
Notifications
You must be signed in to change notification settings - Fork 61
/
.travis.yml
80 lines (68 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
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
# Arizen's Travis CI build script for building Linux, MacOS, and Windows release.
os: linux
dist: bionic
language: generic
notifications:
email: false
git:
depth: 10
branches:
only:
# release tags
- /^v\d+\.\d+\.\d+.*$/
- development
- master
env:
global:
- PROJECT_NAME=arizen
addons:
homebrew:
packages:
- gnupg
apt:
packages:
- gpg
jobs:
include:
- os: osx
osx_image: xcode10.2
language: node_js
node_js: lts/erbium
env:
- ELECTRON_CACHE=$HOME/.cache/electron
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
- os: linux
services: docker
cache:
npm: false
directories:
- $HOME/.cache/electron
- $HOME/.cache/electron-builder
# skip install, done in script.sh
install: true
script:
- source ./ci/script.sh
before_cache:
- rm -rf $HOME/.cache/electron-builder/wine
after_success:
- sudo pip install --upgrade b2
- ./ci/after_success.sh
deploy:
edge: true
provider: releases
draft: true
overwrite: true
token: "${GITHUB_TOKEN}"
release_notes: Release
file_glob: true
file:
- "./release/*.dmg"
- "./release/*.zip"
- "./release/*.exe"
- "./release/*.nupkg"
- "./release/*.deb"
- "./release/*.AppImage"
- "./release/*.sha256"
cleanup: false
on:
tags: true