language: cpp
os:
- osx
- linux
osx_image: xcode7.3
compiler:
- clang
env:
  global:
  - NODE_VERSION=5
addons:
  apt:
    packages:
    - icnsutils
    - graphicsmagick
cache:
  directories:
  - ".nvm"
  - "$HOME/.electron"
  - "$HOME/.npm"
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then openssl aes-256-cbc -K $encrypted_fc666da9e2f5_key
  -iv $encrypted_fc666da9e2f5_iv -in .travis.env.enc -out .travis.env -d; source .travis.env;
  fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then rvm install 2.2.0; ruby --version; gem
  --version; gem install fpm; fi
- if [ ! -f ./.nvm/nvm.sh ]; then git clone https://github.com/creationix/nvm.git
  ./.nvm; fi
- source ./.nvm/nvm.sh
- nvm install $NODE_VERSION
- nvm use --delete-prefix $NODE_VERSION
install:
- npm prune
- npm install
script:
- make ci

language: cpp
os:
- osx
- linux
osx_image: xcode7.3
compiler:
- clang
env:
  global:
  - NODE_VERSION=5
addons:
  apt:
    packages:
    - icnsutils
    - graphicsmagick
    - xz-utils
    - xorriso
cache:
  directories:
  - ".nvm"
  - "$HOME/.electron"
  - "$HOME/.npm"
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then openssl aes-256-cbc -K $encrypted_fc666da9e2f5_key
  -iv $encrypted_fc666da9e2f5_iv -in .travis.env.enc -out .travis.env -d; source .travis.env;
  fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then rvm install 2.2.0; ruby --version; gem
  --version; gem install fpm; fi
- if [ ! -f ./.nvm/nvm.sh ]; then git clone https://github.com/creationix/nvm.git
  ./.nvm; fi
- source ./.nvm/nvm.sh
- nvm install $NODE_VERSION
- nvm use --delete-prefix $NODE_VERSION
install:
- npm prune
- npm install
script:
- make ci

Fix linux package dependencies for AppImage build
Fix linux package dependencies for AppImage build
