forked from FISCO-BCOS/nodejs-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
56 lines (52 loc) · 1003 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
44
45
46
47
48
49
50
51
52
53
54
55
56
# node_js:
# - "8"
branches:
only:
- /.*/
env:
- NODEJS_VERSION=8
- NODEJS_VERSION=9
- NODEJS_VERSION=10
os:
- linux
- osx
git:
depth: 5
matrix:
fast_finish: true
include:
- language: python
python: 3.6
dist: xenial
before_cache:
cache:
before_install:
script: |
bash .ci/code_security_audit.sh
- language: node_js
os: linux
dist: xenial
sudo: required
- language: node_js
os: osx
osx_image: xcode10.14.3
addons:
apt:
packages:
- libssl-dev
- openssl
homebrew:
packages:
- openssl
before_install:
- curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash
- source ~/.$(basename $SHELL)rc
install:
- nvm install $NODEJS_VERSION
- nvm use $NODEJS_VERSION
- npm install
- npm run bootstrap
script: |
bash .ci/ci_check.sh
after_success:
after_failure: