forked from ForstaLabs/forsta-message-vault
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
33 lines (33 loc) · 840 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
os:
- osx
- linux
env:
global:
- ELECTRON_CACHE=$HOME/.cache/electron
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
language: node_js
node_js: '9'
before_cache:
- rm -rf $HOME/.cache/electron-builder/wine
cache:
directories:
- node_modules
- semantic
- electron/downloads
- $HOME/.cache/electron
- $HOME/.cache/electron-builder
- $HOME/.npm/_prebuilds
addons:
artifacts:
s3_region: us-west-2
working_dir: builds
paths: $(ls builds/*-mac.zip builds/*-linux.AppImage builds/*-win.exe | tr "\n" ":")
target_paths:
- "/"
before_install:
- gem install sass -v 3.4.23
script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then make electron-linux electron-mac; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then make electron-win; fi
notifications:
webhooks: https://integration-bot.forsta.io/travisci