tabby/.travis.yml

44 lines
614 B
YAML
Raw Normal View History

2017-06-24 16:23:52 +00:00
matrix:
include:
- os: linux
2017-06-24 17:01:56 +00:00
env: BUILD_FOR=linux
2017-06-24 16:23:52 +00:00
- os: osx
2017-06-24 17:01:56 +00:00
env: BUILD_FOR=macos
2017-06-24 16:23:52 +00:00
2017-06-24 11:26:52 +00:00
language: node_js
2017-06-24 16:23:52 +00:00
node_js: 7
2017-06-24 11:26:52 +00:00
cache:
directories:
- node_modules
2017-06-24 11:27:26 +00:00
- app/node_modules
2017-06-24 11:26:52 +00:00
before_install:
- npm i
- scripts/install-deps.js
script:
- scripts/build-native.js
2017-06-24 13:39:18 +00:00
- npm run build
2017-06-24 11:26:52 +00:00
- scripts/prepackage-plugins.js
2017-06-24 16:23:52 +00:00
- scripts/build-$BUILD_FOR.js
2017-06-24 11:26:52 +00:00
2017-06-24 16:52:19 +00:00
dist: trusty
2017-06-24 11:26:52 +00:00
sudo: false
2017-06-24 12:27:56 +00:00
addons:
apt:
packages:
- rpm
2017-06-24 16:43:31 +00:00
- wine
- mono-runtime
2017-06-24 12:41:30 +00:00
2017-06-24 11:26:52 +00:00
deploy:
provider: releases
api_key: $GITHUB_TOKEN
2017-06-24 12:14:57 +00:00
file_glob: true
2017-06-24 17:01:56 +00:00
file: "dist/terminus*"
2017-06-24 11:26:52 +00:00
skip_cleanup: true
on:
tags: true