From 3194c39649fc96b8def8f9a4c5d34138bb2df3fa Mon Sep 17 00:00:00 2001 From: Nicolas Constant Date: Fri, 5 Apr 2019 00:17:04 -0400 Subject: [PATCH] added travis ci settings --- .travis.yml | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..fb69bee7 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,46 @@ +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: + - 10.9.0 + +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 \ No newline at end of file