tabby/.travis.yml

43 lines
690 B
YAML
Raw Normal View History

2017-06-25 00:23:52 +08:00
matrix:
include:
- os: linux
2017-06-25 00:28:13 +08:00
env: BUILD_FOR=windows ARTIFACT="dist/win/*.exe"
2017-06-25 00:23:52 +08:00
- os: linux
2017-06-25 00:28:13 +08:00
env: BUILD_FOR=linux ARTIFACT="dist/terminus*"
2017-06-25 00:23:52 +08:00
- os: osx
2017-06-25 00:28:13 +08:00
env: BUILD_FOR=macos ARTIFACT="dist/terminus*"
2017-06-25 00:23:52 +08:00
2017-06-24 19:26:52 +08:00
language: node_js
2017-06-25 00:23:52 +08:00
node_js: 7
2017-06-24 19:26:52 +08:00
cache:
directories:
- node_modules
2017-06-24 19:27:26 +08:00
- app/node_modules
2017-06-24 19:26:52 +08:00
before_install:
- npm i
- scripts/install-deps.js
script:
- scripts/build-native.js
2017-06-24 21:39:18 +08:00
- npm run build
2017-06-24 19:26:52 +08:00
- scripts/prepackage-plugins.js
2017-06-25 00:23:52 +08:00
- scripts/build-$BUILD_FOR.js
2017-06-24 19:26:52 +08:00
sudo: false
2017-06-24 20:27:56 +08:00
addons:
apt:
packages:
- rpm
2017-06-24 20:41:30 +08:00
2017-06-24 19:26:52 +08:00
deploy:
provider: releases
api_key: $GITHUB_TOKEN
2017-06-24 20:14:57 +08:00
file_glob: true
2017-06-24 20:43:06 +08:00
file: 'dist/terminus*'
2017-06-24 19:26:52 +08:00
skip_cleanup: true
on:
tags: true