1 Star 0 Fork 0

sniper15 / pc-nrfconnect-launcher

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
.travis.yml 1.01 KB
Copy Edit Web IDE Raw Blame History
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`"

Comment ( 0 )

Sign in for post a comment

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

Search