forked from bodhiproject/qweb3.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
35 lines (27 loc) · 843 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
language: node_js
node_js:
- "10"
env:
- CXX=g++-4.8 QTUM_RPC_ADDRESS='http://bodhi:bodhi@localhost:13889' SENDER_ADDRESS='qMZK8FNPRm54jvTLAGEs1biTCgyCkcsmna' WALLET_PASSPHRASE='bodhi'
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
cache:
directories:
- "node_modules"
before_install:
- wget https://github.com/qtumproject/qtum/releases/download/mainnet-ignition-v0.14.13/qtum-0.14.13-x86_64-linux-gnu.tar.gz
install:
- tar -xvzf qtum-0.14.13-x86_64-linux-gnu.tar.gz
- npm install
- mkdir test/data/.qtum
script:
- ./qtum-0.14.13/bin/qtumd -testnet -logevents -rpcuser=bodhi -rpcpassword=bodhi -datadir=./test/data/.qtum &
- sleep 10
- npm run test:cleanenv
after_failure:
- cat /home/travis/build/bodhiproject/qweb3.js/test/data/.qtum/testnet3/debug.log