-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
48 lines (36 loc) · 899 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
osx_image: xcode8.3
dist: trusty
sudo: false
language: node_js
node_js: "8"
env:
global:
- ELECTRON_CACHE=%HOME/.cache/electron
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
# Deployment & code signing environment variables are declared in the project settings on Travis CI.
os:
- linux
- osx
cache:
directories:
- node_modules
- app/node_modules
- app/bower_components
- $HOME/.cache/electron
- $HOME/.cache/electron-builder
- $HOME/.npm/_prebuilds
before_install:
- npm install -g greenkeeper-lockfile@1
install:
- npm install -g bower
- npm install
- bower install
before_script: greenkeeper-lockfile-update
script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then xvfb-run npm test; else npm test; fi
after_success:
- npm run dist
after_script: greenkeeper-lockfile-upload
branches:
except:
- '/^chore\(release\)/'