This repository has been archived by the owner on Dec 28, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
59 lines (53 loc) · 1.58 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
language: node
node_js:
- '12'
addons:
apt:
update: true
jobs:
include:
- stage: Tests
os: linux
dist: bionic
script:
- npm run test
- stage: Packages for macOS
if: tag IS present
os: osx
osx_image: xcode11
script:
- npm install
- npm rebuild --build-from-source=grpc --target=6.0.0 --runtime=electron --dist-url=https://atom.io/download/electron # Needed by Electron to work with gRPC
- npm run build
- npm run package-darwin
- npm rebuild --build-from-source=macos-alias
- npm run installer-darwin
- npm run installer-darwin-zip
- stage: Packages for linux
if: tag IS present
os: linux
dist: bionic
script:
- sudo apt-get install -y fakeroot rpm
- npm install
- npm rebuild --build-from-source=grpc --target=6.0.0 --runtime=electron --dist-url=https://atom.io/download/electron # Needed by Electron to work with gRPC
- npm run build
- npm run package-linux
- npm rebuild --build-from-source=macos-alias
- npm run installer-linux-zip
- npm run installer-debian
- npm run installer-redhat
deploy:
provider: releases
skip_cleanup: true
api_key:
secure: $GITHUB_TOKEN
file:
- builds/Monday-darwin-x64.dmg
- builds/Monday-darwin-x64.zip
- builds/Monday-linux-x64.zip
- builds/monday_${TRAVIS_TAG}_amd64.deb
- builds/Monday-${TRAVIS_TAG}-1.amd64.rpm
on:
repo: eko/monday-app
tags: true