mirror of
https://github.com/bigchaindb/js-bigchaindb-driver.git
synced 2024-11-22 09:46:58 +01:00
Merge branch 'travis-ci'
This commit is contained in:
commit
f1f52cd1bc
1
.gitignore
vendored
1
.gitignore
vendored
@ -13,5 +13,4 @@
|
||||
|
||||
node_modules
|
||||
dist
|
||||
yarn.lock
|
||||
package-lock.json
|
27
.travis.yml
Normal file
27
.travis.yml
Normal file
@ -0,0 +1,27 @@
|
||||
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:0.10.2
|
||||
start
|
||||
|
||||
script: yarn test
|
||||
|
||||
notifications:
|
||||
email: false
|
@ -23,7 +23,7 @@
|
||||
"release": "./node_modules/release-it/bin/release.js --src.tagName='v%s' --github.release --npm.publish --non-interactive",
|
||||
"release-minor": "./node_modules/release-it/bin/release.js minor --src.tagName='v%s' --github.release --npm.publish --non-interactive",
|
||||
"release-major": "./node_modules/release-it/bin/release.js major --src.tagName='v%s' --github.release --npm.publish --non-interactive",
|
||||
"prepublish": "npm update && npm run build",
|
||||
"prepublishOnly": "npm update && npm run build",
|
||||
"precommit": "npm run lint"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
Loading…
Reference in New Issue
Block a user