insomnia/.travis.yml
Gregory Schier 549ce23ce8
Merge All Repositories into Monorepo for easier maintenance (#629)
* All projects into monorepo

* Update CI

* More CI updates

* Extracted a bunch of things into packages

* Publish

 - insomnia-plugin-base64@1.0.1
 - insomnia-plugin-default-headers@1.0.2
 - insomnia-plugin-file@1.0.1
 - insomnia-plugin-hash@1.0.1
 - insomnia-plugin-now@1.0.1
 - insomnia-plugin-request@1.0.1
 - insomnia-plugin-response@1.0.1
 - insomnia-plugin-uuid@1.0.1
 - insomnia-cookies@0.0.2
 - insomnia-importers@1.5.2
 - insomnia-prettify@0.0.3
 - insomnia-url@0.0.2
 - insomnia-xpath@0.0.2

* A bunch of small fixes

* Improved build script

* Fixed

* Merge dangling files

* Usability refactor

* Handle duplicate plugin names
2017-11-26 20:45:40 +00:00

61 lines
1.1 KiB
YAML

language: node_js
matrix:
include:
- os: linux
sudo: required
dist: trusty
env: CC=clang CXX=clang++ npm_config_clang=1
compiler: clang
install:
- npm install 7zip-bin-linux > /dev/null
env:
- 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
- snapd
- git-all
- build-essential
- icnsutils
- graphicsmagick
- xz-utils
cache:
directories:
- node_modules
- build/node_modules
- $HOME/.electron
- $HOME/.cache
script:
- node --version
- npm --version
- npm run bootstrap
- npm test
before_deploy:
- npm run package-app
deploy:
provider: releases
api_key: $GITHUB_TOKEN
skip_cleanup: true
file_glob: true
prerelease: true
file:
- packages/insomnia-app/dist/**/*.zip
- packages/insomnia-app/dist/**/*.dmg
- packages/insomnia-app/dist/**/*.deb
- packages/insomnia-app/dist/**/*.AppImage
- packages/insomnia-app/dist/**/*.tar.gz
on:
tags: true