新增nodejs版本输出

pull/96/head
lyswhut 2019-11-02 11:42:31 +08:00
parent 6659d1fe43
commit ae0ee2048a
1 changed files with 4 additions and 4 deletions

View File

@ -3,16 +3,14 @@ matrix:
- os: osx - os: osx
osx_image: xcode10.2 osx_image: xcode10.2
language: node_js language: node_js
node_js: node_js: 12
- 12
env: env:
- ELECTRON_CACHE=$HOME/.cache/electron - ELECTRON_CACHE=$HOME/.cache/electron
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder - ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
- os: linux - os: linux
language: node_js language: node_js
node_js: node_js: 12
- 12
dist: trusty dist: trusty
services: docker services: docker
language: generic language: generic
@ -28,6 +26,8 @@ notifications:
email: false email: false
script: script:
- node --version
- npm --version
- | - |
if [ "$TRAVIS_OS_NAME" == "linux" ]; then if [ "$TRAVIS_OS_NAME" == "linux" ]; then
npm install && npm run publish:gh:linux npm install && npm run publish:gh:linux