forked from ethereumjs/geth.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
34 lines (28 loc) · 822 Bytes
/
Copy path.travis.yml
File metadata and controls
34 lines (28 loc) · 822 Bytes
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
sudo: required
dist: trusty
language: node_js
node_js:
- "7"
- "6"
- "5"
- "4"
before_install:
- sudo apt-get update -qq
- sudo apt-get install software-properties-common -y -qq
- sudo add-apt-repository -y ppa:ethereum/ethereum
- sudo add-apt-repository -y ppa:ethereum/ethereum-dev
- sudo apt-get update -qq
- sudo apt-get install geth -y -qq
- yes | geth --datadir ~/.ethereum-10101 &
- sleep 5
- killall geth
- yes | geth --datadir ~/.ethereum-7 &
- sleep 5
- killall geth
- npm install -g npm
install:
- npm install
- npm install jshint
script:
- npm run lint
- travis_wait 60 istanbul cover -x **/lib/** ./node_modules/mocha/bin/_mocha test/*.js --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage