mirror of https://github.com/Kylart/KawAnime.git
Changed linux image to setup nodejs_12
This commit is contained in:
parent
359935ab82
commit
82d17eadb6
11
.travis.yml
11
.travis.yml
|
@ -10,8 +10,8 @@ matrix:
|
||||||
- MATRIX_EVAL="brew install gcc && CC=gcc-7 && CXX=g++-7"
|
- MATRIX_EVAL="brew install gcc && CC=gcc-7 && CXX=g++-7"
|
||||||
|
|
||||||
- os: linux
|
- os: linux
|
||||||
services: docker
|
language: node_js
|
||||||
language: generic
|
node_js: "12"
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
sources:
|
sources:
|
||||||
|
@ -42,12 +42,7 @@ jobs:
|
||||||
script:
|
script:
|
||||||
- |
|
- |
|
||||||
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
|
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
|
||||||
docker run --rm \
|
npm run publish:linux
|
||||||
--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"
|
|
||||||
else
|
else
|
||||||
npm run publish:mac
|
npm run publish:mac
|
||||||
fi
|
fi
|
Loading…
Reference in New Issue