-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
57 lines (52 loc) · 1.85 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
deploy:
provider: releases
api_key:
secure: jIluGkbUPwTId9xR0vmjvw8VhvxWRI7n/ArJI57CCx+7uh0vZYXg5IeiFiib00FEPnsBbpaKSdkN5CNlLOU62ts4xFk03+x4KfGdruqBidsN6Z/l8b+NLJqe8GzYAjXDDnDG8nzTDRkGErlShfQ3xFgI78Jc6fprV3dSJ/x3uj99yIfBWC/CbGUlqoY8OY38Bd5GDyaDYv5Vden0uQktxVcFZ2ms/IJOjZDKYVMy1+jSkeHnrSuLG2FiBRbLO648uJrF+cRNriMv8luRT/O2XGc88miCsqou3BzXRN47Jhpq4TjiSDZY/xM9C/7veisW6HXRCsDgd8d6wtb97tCBlaCIn09bMoOb9eagbkRz+lVL4b7J8TiDJcSKc6APQKMhPXukbyQpOKPlHTJ+/0E0XzQez6I6BVwqyxqdCmAXzV1+cGjWeUeZVmkzi8eum/bZxbllgHTKcEdEkjMvwYPkWuVblA0Xg0R18/3HFMYsPc2r+l21z3d+UoxM87YDCSEFK0UgTHd+UVYpAogJxV9BZ3BCp0fcr3wT0Sxwu2kC0mbqCPFvJAsH3RkdXIB6EkLuP7P0bqA7EtQ23NLVXE/Reie0AawzBMC90qrsmWmGg+/sYw6BGILqmfl+Syurjkz2lRZXQAkOeYNvJv58oSC3Q7CosS/taxUSxxhGbDz7Yes=
file:
- dist/*.tar.gz
- dist/*.dmg
- dist/*.exe
- dist/*.snap
- dist/*.deb
- dist/*.rpm
- dist/*.AppImage
file_glob: true
skip_cleanup: true
on:
repo: Booligoosh/makerlog-menubar
tags: true
sudo: false
matrix:
include:
- os: osx
osx_image: xcode9.4
language: node_js
node_js: "10"
env:
- ELECTRON_CACHE=$HOME/.cache/electron
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
- os: linux
services: docker
language: generic
cache:
directories:
- node_modules
- $HOME/.cache/electron
- $HOME/.cache/electron-builder
script:
- |
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
docker run --rm \
-v ${PWD}:/project \
-v ~/.cache/electron:/root/.cache/electron \
-v ~/.cache/electron-builder:/root/.cache/electron-builder \
electronuserland/builder:wine \
/bin/bash -c "yarn --link-duplicates --pure-lockfile && yarn run linwin"
else
yarn run mac
fi
before_cache:
- rm -rf $HOME/.cache/electron-builder/wine
branches:
only:
- "/^v\\d+\\.\\d+\\.\\d+$/"