mirror of
https://github.com/Kong/insomnia
synced 2024-11-07 14:19:58 +00:00
e9b87686e1
* Upgrade electron-builder * Fix optional dep * Add another dep * Fix travis * Fix 7zip install * Fix icons * Minor fix * Delete changelog * Moved build scripts to JS * Some adjustments * Remove lines * Add 7zip back * Update scripts * Small tweaks * Fix electronbuilder config * snap dependency * Fix pkg * Remove snapd dep * Updated deps and lots of fixes * Travis update * Return package name * Remove snap for now * Remove portable * Try fixing code signing * Bump cache * Disable automatic tests * Fix windows artifacts * package-lock for app/ * Try fix npm install * Try again * Some minor tweaks * Preleases by default
63 lines
1.0 KiB
YAML
63 lines
1.0 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
|
|
|
|
install:
|
|
- npm install > /dev/null
|
|
- node --version
|
|
- npm --version
|
|
|
|
script:
|
|
- npm test
|
|
|
|
before_deploy:
|
|
- npm run build-n-package
|
|
|
|
deploy:
|
|
provider: releases
|
|
api_key: $GITHUB_TOKEN
|
|
skip_cleanup: true
|
|
file_glob: true
|
|
prerelease: true
|
|
file:
|
|
- dist/**/*.zip
|
|
- dist/**/*.dmg
|
|
- dist/**/*.deb
|
|
- dist/**/*.AppImage
|
|
- dist/**/*.tar.gz
|
|
on:
|
|
tags: true
|