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:2.0.0 start - gem install cowsay - npm install -g codecov script: yarn test notifications: email: false