mirror of
https://github.com/Eugeny/tabby
synced 2024-11-15 17:28:06 +00:00
39 lines
622 B
YAML
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
|