tabby/.travis.yml
Eugene Pankov 7d362fb04b ,
2017-06-24 14:43:06 +02:00

39 lines
622 B
YAML

os:
- linux
- osx
language: node_js
node_js:
- 7
cache:
directories:
- node_modules
- app/node_modules
before_install:
- npm i
- scripts/install-deps.js
script:
- scripts/build-native.js
- npm run build
- scripts/prepackage-plugins.js
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then scripts/build-linux.js; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then scripts/build-macos.js; fi
sudo: false
addons:
apt:
packages:
- rpm
deploy:
provider: releases
api_key: $GITHUB_TOKEN
file_glob: true
file: 'dist/terminus*'
skip_cleanup: true
on:
tags: true