matrix: include: - os: osx osx_image: xcode9.4 language: node_js node_js: lts/* env: - ELECTRON_CACHE=$HOME/.cache/electron - ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder - os: linux language: node_js node_js: lts/* - os: windows language: node_js node_js: lts/* filter_secrets: false cache: directories: - $HOME/.cache/electron - $HOME/.cache/electron-builder before_install: - | if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install \ automake \ libgconf-2-4 \ libtool \ libxext-dev \ libxkbfile-dev \ libxtst-dev fi - npm cache verify script: npm test && npm run dist branches: only: - master - "/^v\\d+\\.\\d+\\.\\d+$/"