-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
43 lines (43 loc) · 966 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
language: node_js
node_js: '6'
matrix:
include:
- os: linux
env:
- VERSION=0.31.0
- os: linux
env:
- VERSION=0.32.0
- os: linux
env:
- VERSION=0.33.0
- os: osx
osx_image: xcode9
env:
- VERSION=0.31.0
- os: osx
osx_image: xcode9
env:
- VERSION=0.32.0
- os: osx
osx_image: xcode9
env:
- VERSION=0.33.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
- rm -rf ./node_modules/.bin/fibjs
- 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