@richardo2016/rcli
Version:
Richard's cli
43 lines (42 loc) • 929 B
YAML
language: node_js
node_js: '6'
matrix:
include:
- os: linux
env:
- VERSION=0.26.0
- os: linux
env:
- VERSION=0.26.1
- os: linux
env:
- VERSION=0.27.0
- os: osx
osx_image: xcode9
env:
- VERSION=0.26.0
- os: osx
osx_image: xcode9
env:
- VERSION=0.26.1
- os: osx
osx_image: xcode9
env:
- VERSION=0.27.0
before_install:
- OS=linux
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
rvm install ruby-2.4.0;
rvm --default use 2.4.0;
ruby -v;
brew update;
brew install xz;
OS=darwin;
fi
script:
- npm i
- mkdir -p ./node_modules/.bin
- curl -SL "https://github.com/fibjs/fibjs/releases/download/v${VERSION}/fibjs-v${VERSION}-${OS}-x64.xz" -o ./node_modules/.bin/fibjs.xz
- xz -d ./node_modules/.bin/fibjs.xz
- chmod a+x ./node_modules/.bin/fibjs
- npm run ci