Skip to content

Instantly share code, notes, and snippets.

@pietrop
Created August 6, 2018 04:34
Show Gist options
  • Save pietrop/c1c9b4b518fb8c733779f9c162e1c398 to your computer and use it in GitHub Desktop.
Save pietrop/c1c9b4b518fb8c733779f9c162e1c398 to your computer and use it in GitHub Desktop.
Electron Travis CI Linux only automated build `.travis.yml` file
# https://github.com/OpenNewsLabs/autoEdit_2/issues/36
language: node_js
node_js:
- "7"
os: linux
dist: trusty
sudo: required
cache:
directories:
- node_modules
- $HOME/.electron
- $HOME/.npm
- $HOME/.nvm
addons:
apt:
packages:
- libgnome-keyring-dev
- icnsutils
install:
- node --version
- npm --version
- npm install
script:
# - npm run test
# - npm run build
- npm run build:linux
- find . | grep AppImage
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
- bash upload.sh ./dist/autoEdit2-*-x86_64.AppImage
branches:
except:
- # Do not build tags that we create when we upload to GitHub Releases
- /^(?i:continuous)/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment