UNPKG

444 BYAMLView Raw
1language: node_js
2node_js: "6"
3os:
4- linux
5- osx
6dist: trusty
7osx_image: xcode8.3
8sudo: false
9
10cache:
11 directories:
12 - node_modules
13 - $HOME/.cache/electron
14
15addons:
16 apt:
17 packages:
18 - fakeroot
19 - rpm
20
21branches:
22 only:
23 - master
24 - /^v\d+\.\d+\.\d+/
25
26install:
27- npm install
28- npm update
29
30script:
31- npm run lint
32- if test -z "$TRAVIS_TAG"; then npm run make; fi
33after_success: if test -n "$TRAVIS_TAG"; then npm run publish; fi