yunkong2.vis/.travis.yml
2018-09-16 09:04:26 +08:00

25 lines
572 B
YAML

os:
- linux
- osx
language: node_js
node_js:
- '4'
- '6'
- '8'
- '10'
before_script:
- export NPMVERSION=$(echo "$($(which npm) -v)"|cut -c1)
- 'if [[ $NPMVERSION == 5 ]]; then npm install -g npm@5; fi'
- npm -v
- npm install winston@2.3.0 --production
- 'npm install https://github.com/yunkong2/yunkong2.js-controller/tarball/master --production'
- npm install yunkong2.web --prefix ./node_modules/yunkong2.js-controller/ --production
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8