forked from Kong/insomnia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
57 lines (50 loc) · 943 Bytes
/
.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
language: node_js
matrix:
include:
- os: linux
dist: trusty
env: CC=clang CXX=clang++ npm_config_clang=1
compiler: clang
env:
- PLATFORM=linux
- os: osx
env:
- PLATFORM=mac
- CSC_LINK=$MAC_CSC_LINK
- CSC_KEY_PASSWORD=$MAC_CSC_KEY_PASSWORD
addons:
apt:
packages:
- libcurl4-openssl-dev
- git-all
- build-essential
- icnsutils
- graphicsmagick
- xz-utils
cache:
directories:
- node_modules
- build/node_modules
- $HOME/.electron
- $HOME/.cache
install:
- npm install -g npm@5 > Nul
- npm install > /dev/null
- node --version
- npm --version
script:
- npm test
before_deploy:
- npm run build-n-package:$PLATFORM
deploy:
provider: releases
api_key: $GITHUB_TOKEN
skip_cleanup: true
file_glob: true
file:
- dist/**/*.zip
- dist/**/*.dmg
- dist/**/*.deb
- dist/**/*.AppImage
on:
tags: true