34 строки
444 B
YAML
34 строки
444 B
YAML
language: node_js
|
|
node_js: "6"
|
|
os:
|
|
- linux
|
|
- osx
|
|
dist: trusty
|
|
osx_image: xcode8.3
|
|
sudo: false
|
|
|
|
cache:
|
|
directories:
|
|
- node_modules
|
|
- $HOME/.cache/electron
|
|
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- fakeroot
|
|
- rpm
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
- /^v\d+\.\d+\.\d+/
|
|
|
|
install:
|
|
- npm install
|
|
- npm update
|
|
|
|
script:
|
|
- npm run lint
|
|
- if test -z "$TRAVIS_TAG"; then npm run make; fi
|
|
after_success: if test -n "$TRAVIS_TAG"; then npm run publish; fi
|