Skip to content

Instantly share code, notes, and snippets.

@Breta01
Created November 16, 2016 20:58
Show Gist options
  • Save Breta01/c8d39f44dcf98e98c340c988e4a48fa7 to your computer and use it in GitHub Desktop.
Save Breta01/c8d39f44dcf98e98c340c988e4a48fa7 to your computer and use it in GitHub Desktop.
Simplified .travis.yml
sudo: required
dist: trusty
language: c
matrix:
include:
- os: osx
- os: linux
env: CC=clang CXX=clang++ npm_config_clang=1
compiler: clang
node_js:
- 6
cache:
directories:
- node_modules
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
- icnsutils
- graphicsmagick
- libgnome-keyring-dev
- xz-utils
- xorriso
- xvfb
install:
- nvm install 6
- npm install electron-builder@next
- npm install
- export DISPLAY=':99.0'
- Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start &
- sleep 3
script:
- npm run dist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment