-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
78 lines (78 loc) · 1.56 KB
/
.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
language: node_js
node_js: '6'
matrix:
include:
- os: linux
env:
- VERSION=0.21.0
- os: linux
env:
- VERSION=0.22.0
- os: linux
env:
- VERSION=0.23.0
- os: linux
env:
- VERSION=0.24.0
- os: linux
env:
- VERSION=0.25.0
- 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.21.0
- os: osx
osx_image: xcode9
env:
- VERSION=0.22.0
- os: osx
osx_image: xcode9
env:
- VERSION=0.23.0
- os: osx
osx_image: xcode9
env:
- VERSION=0.24.0
- os: osx
osx_image: xcode9
env:
- VERSION=0.25.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
- 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