-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
57 lines (46 loc) · 861 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
sudo: required
dist: trusty
language: node_js
node_js:
- '10'
matrix:
include:
- os: osx
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libgnome-keyring-dev
- rpm
- bsdtar
ssh_known_hosts: [email protected]
cache:
directories:
- "$HOME/.electron"
install:
- npm install -g npm
before_script:
- export TRAVIS=1
- npm ci
- npm run lint
- npm test
script:
- npm run build
branches:
except:
- "/^v\\d+\\.\\d+\\.\\d+.*/"
before_deploy:
- openssl aes-256-cbc -K $encrypted_ff76734e9597_key -iv $encrypted_ff76734e9597_iv
-in ./build/deploy_rsa.enc -out /tmp/deploy_rsa -d
- eval "$(ssh-agent -s)"
- chmod 600 /tmp/deploy_rsa
- ssh-add /tmp/deploy_rsa
deploy:
provider: script
skip_cleanup: true
script: npm run deploy:nightlies
on:
repo: poooi/poi
all_branches: true