This repository has been archived by the owner on Mar 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 186
/
.travis.yml
63 lines (62 loc) · 4.75 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
language: node_js
sudo: true
before_cache:
- brew cleanup
cache:
directories:
- node_modules
- "/usr/local/Cellar"
- $HOME/Library/Caches/Homebrew
node_js:
- '11'
addons:
apt:
packages:
- fakeroot
before_script:
- if [[ -n "$TRAVIS_TAG" ]]; then openssl aes-256-cbc -K $encrypted_c8b4b5b5a834_key -iv $encrypted_c8b4b5b5a834_iv -in ./.travis/certs.tar.enc -out ./.travis/certs.tar -d; fi
- if [[ -n "$TRAVIS_TAG" ]]; then tar xvf ./.travis/certs.tar -C ./.travis; fi
- if [[ -n "$TRAVIS_TAG" ]]; then if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then "./.travis/add-key.sh"; fi ; fi
jobs:
include:
- os: osx
osx_image: xcode11
env: BINARY=osx
- os: osx
osx_image: xcode11
env: BINARY=osxclient
- os: linux
- os: osx
osx_image: xcode11.2
env: BINARY=win
script:
- npm run lint
- npm run test
- if [ -n "$TRAVIS_TAG" ]; then ./build.sh; fi
deploy:
provider: releases
api_key: "$GITHUB_TOKEN"
file_glob: true
file:
- "dist/win64/RELEASES"
- "dist/win64/*.exe"
- "dist/win64/*.nupkg"
- "dist/osx/*.dmg"
- "dist/osx/*.zip"
- "dist/linux32/*.deb"
- "dist/linux64/*.deb"
- "dist/linux32/*.rpm"
- "dist/linux64/*.rpm"
skip_cleanup: true
all_branches: true
on:
tags: true
env:
global:
- secure: KGmmWJO60jaOeLIogqOH88oWTDWBZxXz1hLu3100Y4LeSruaoyV3GzRTIcUrmIdUiceKitFlTO4y1Xxc98fj7aajh2QkF1XpCQ4lz38RtJcjsn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