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"
|
||||
|
||||
- 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
|
Loading…
Reference in New Issue