Skip to content
This repository has been archived by the owner on Sep 3, 2019. It is now read-only.

Commit

Permalink
Merge pull request #199 from bodhiproject/fix-travis
Browse files Browse the repository at this point in the history
Fix travis
  • Loading branch information
dwalintukan authored May 30, 2019
2 parents 1dff604 + f3624b6 commit 64b617b
Show file tree
Hide file tree
Showing 26 changed files with 25 additions and 1,287 deletions.
27 changes: 2 additions & 25 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,10 @@ language: node_js
node_js:
- "9"

env:
- CXX=g++-4.8

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.16.1/qtum-0.16.1-x86_64-linux-gnu.tar.gz
cache: npm

install:
- tar -xvzf qtum-0.16.1-x86_64-linux-gnu.tar.gz
- npm install
- mkdir -p test/data/.qtum

script:
- ./qtum-0.16.1/bin/qtumd -testnet -logevents -rpcuser=bodhi -rpcpassword=bodhi -datadir=./test/data/.qtum &
- sleep 10
- mocha --recursive src/**/*.tests.js --timeout 10000 --rpcpassword=bodhi --test --qtumpath=./qtum-0.16.1/bin

after_failure:
- cat test/data/.qtum/testnet3/debug.log
- npm run test
35 changes: 0 additions & 35 deletions src/api/test/address-manager.tests.js

This file was deleted.

111 changes: 0 additions & 111 deletions src/api/test/base-contract.tests.js

This file was deleted.

95 changes: 0 additions & 95 deletions src/api/test/blockchain.tests.js

This file was deleted.

86 changes: 0 additions & 86 deletions src/api/test/bodhi-token.tests.js

This file was deleted.

Loading

0 comments on commit 64b617b

Please sign in to comment.