1 Star 0 Fork 0

sniper15 / pc-nrfconnect-launcher

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.travis.yml 1.01 KB
一键复制 编辑 原始数据 按行查看 历史
branches:
only:
- master
- /^v?[0-9]/
language: cpp
compiler: gcc
filter_secrets: false
env:
global:
- TZ=Europe/Oslo
- WIN_TZ="W. Europe Standard Time"
- NODE_ARCH="64"
- NODE_VERSION="8.15.0"
- npm_config_runtime="electron"
- npm_config_target="2.0.6"
- npm_config_disturl="https://atom.io/download/electron"
matrix:
include:
- os: linux
- os: osx
- os: windows
- os: windows
env: NODE_ARCH="32"
before_install:
- |
if [ $TRAVIS_OS_NAME == "windows" ]; then
choco install -y nvm
export NVM_HOME="C:\ProgramData\nvm"
export NVM_SYMLINK="C:\Program Files\nodejs"
export PATH=$PATH:$NVM_HOME:$NVM_SYMLINK
nvm install $NODE_VERSION $NODE_ARCH
nvm use $NODE_VERSION $NODE_ARCH
tzutil //s "$WIN_TZ"
else
nvm install $NODE_VERSION
nvm use $NODE_VERSION
fi
script:
- npm install
- npm run build
- npm test
- |
if [ $TRAVIS_OS_NAME == "osx" ]; then
npm run test-e2e
fi
after_success:
- echo "now's the time to run `npm run electron-builder`"
1
https://gitee.com/sniper15/pc-nrfconnect-launcher.git
git@gitee.com:sniper15/pc-nrfconnect-launcher.git
sniper15
pc-nrfconnect-launcher
pc-nrfconnect-launcher
master

搜索帮助