insomnia/.travis.yml

59 lines
1.1 KiB
YAML
Raw Normal View History

language: node_js
matrix:
include:
- os: linux
sudo: required
2018-02-07 08:51:26 +00:00
dist: trusty
2017-05-05 02:52:30 +00:00
env: CC=clang CXX=clang++ npm_config_clang=1
compiler: clang
install:
- npm install 7zip-bin-linux > /dev/null
- os: osx
install:
- npm install 7zip-bin-mac > /dev/null
env:
- CSC_LINK=$MAC_CSC_LINK
- CSC_KEY_PASSWORD=$MAC_CSC_KEY_PASSWORD
addons:
apt:
packages:
- libcurl4-openssl-dev
2018-01-29 07:05:37 +00:00
- snapd
- git-all
- icnsutils
- graphicsmagick
2017-05-04 21:28:27 +00:00
cache:
directories:
- node_modules
- build/node_modules
2017-05-05 02:52:30 +00:00
- $HOME/.electron
- $HOME/.cache
2017-05-04 21:28:27 +00:00
script:
2018-02-07 08:51:26 +00:00
- node --version
- npm --version
- npm run bootstrap
- npm test
before_deploy:
2017-11-26 21:40:56 +00:00
- npm run app-package
deploy:
provider: releases
api_key: $GITHUB_TOKEN
skip_cleanup: true
file_glob: true
prerelease: true
file:
2018-02-07 09:26:17 +00:00
- packages/insomnia-app/dist/**/*.zip
- packages/insomnia-app/dist/**/*.dmg
- packages/insomnia-app/dist/**/*.deb
- packages/insomnia-app/dist/**/*.snap
- packages/insomnia-app/dist/**/*.AppImage
- packages/insomnia-app/dist/**/*.tar.gz
on:
tags: true