mirror of
https://github.com/bigchaindb/js-bigchaindb-driver.git
synced 2024-11-29 07:16:25 +01:00
29 lines
614 B
YAML
29 lines
614 B
YAML
sudo: required
|
|
|
|
services:
|
|
- docker
|
|
|
|
language: node_js
|
|
|
|
node_js: 7
|
|
|
|
cache:
|
|
directories:
|
|
- node_modules
|
|
|
|
before_install:
|
|
- docker run -d -p 27017:27017 mongo:3.4 --replSet=bigchain-rs
|
|
- docker run -d -p 9984:9984
|
|
-e BIGCHAINDB_KEYPAIR_PUBLIC=8wHUvvraRo5yEoJAt66UTZaFq9YZ9tFFwcauKPDtjkGw
|
|
-e BIGCHAINDB_KEYPAIR_PRIVATE=5C5Cknco7YxBRP9AgB1cbUVTL4FAcooxErLygw1DeG2D
|
|
-e BIGCHAINDB_DATABASE_BACKEND=mongodb
|
|
-e BIGCHAINDB_DATABASE_HOST=172.17.0.1
|
|
bigchaindb/bigchaindb:master
|
|
start
|
|
- npm install -g codecov
|
|
|
|
script: yarn test
|
|
|
|
notifications:
|
|
email: false
|