Changed linux image to setup nodejs_12

This commit is contained in:
Kylart 2019-06-14 13:53:18 +02:00
parent 359935ab82
commit 82d17eadb6
1 changed files with 3 additions and 8 deletions

View File

@ -10,8 +10,8 @@ matrix:
- MATRIX_EVAL="brew install gcc && CC=gcc-7 && CXX=g++-7"
- os: linux
services: docker
language: generic
language: node_js
node_js: "12"
addons:
apt:
sources:
@ -42,12 +42,7 @@ jobs:
script:
- |
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
docker run --rm \
--env-file <(env | grep -iE 'DEBUG|NODE_|ELECTRON_|YARN_|NPM_|CI|CIRCLE|TRAVIS|APPVEYOR_|CSC_|_TOKEN|_KEY|AWS_|STRIP|BUILD_') \
-v ${PWD}:/project \
-v ~/.cache/electron:/root/.cache/electron \
-v ~/.cache/electron-builder:/root/.cache/electron-builder \
/bin/bash -c "npm run publish:linux"
npm run publish:linux
else
npm run publish:mac
fi