1
0
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:
vrde 2017-06-19 18:48:24 +02:00
commit f1f52cd1bc
No known key found for this signature in database
GPG Key ID: 6581C7C39B3D397D
4 changed files with 4728 additions and 3 deletions

3
.gitignore vendored
View File

@ -13,5 +13,4 @@
node_modules node_modules
dist dist
yarn.lock package-lock.json
package-lock.json

27
.travis.yml Normal file
View 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

View File

@ -23,7 +23,7 @@
"release": "./node_modules/release-it/bin/release.js --src.tagName='v%s' --github.release --npm.publish --non-interactive", "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-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", "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" "precommit": "npm run lint"
}, },
"devDependencies": { "devDependencies": {

4699
yarn.lock Normal file

File diff suppressed because it is too large Load Diff