tabby/.travis.yml
Eugene Pankov bf3882b557 .
2017-06-24 15:15:45 +02:00

40 lines
671 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 --prefix app
- node scripts/build-plugins.js
- 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