Skip to content

Commit

Permalink
Merge pull request #172 from bigchaindb/fix/travis
Browse files Browse the repository at this point in the history
Fix Travis
  • Loading branch information
kremalicious committed May 14, 2018
2 parents 0c8a9c6 + fbb9b95 commit 4570b24
Show file tree
Hide file tree
Showing 13 changed files with 27 additions and 5,421 deletions.
4 changes: 4 additions & 0 deletions .ci/travis-before-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@
set -e -x

docker-compose up -d bigchaindb

npm install
gem install cowsay
npm install -g codecov
5 changes: 0 additions & 5 deletions .ci/travis_script.sh

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
*.sublime-workspace
*.sublime-workspace
.DS_Store
.vscode

.env

Expand Down
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
*.sublime-workspace
*.sublime-workspace
.DS_Store
.vscode

.env

Expand Down
9 changes: 5 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ services:

language: node_js

node_js: 7
node_js:
- 8
- 9
- 10

cache:
directories:
Expand All @@ -23,10 +26,8 @@ install:

before_script:
- .ci/travis-before-script.sh
- gem install cowsay
- npm install -g codecov

script: yarn test
script: npm test

notifications:
email: false
3 changes: 0 additions & 3 deletions .vscode/settings.json

This file was deleted.

4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ services:
retries: 3
command: -l DEBUG start
tendermint:
image: tendermint/tendermint:0.12
image: tendermint/tendermint:0.19.2
volumes:
- ./compose/tendermint/tmdata/config.toml:/tendermint/config.toml
entrypoint: ''
ports:
- "46656"
- "46657"
command: bash -c "tendermint init && tendermint node"
command: sh -c "tendermint init && tendermint node --consensus.create_empty_blocks=false --proxy_app=tcp://bigchaindb:46658"
4 changes: 3 additions & 1 deletion examples/src/basic-usage-async-await.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
const driver = require('bigchaindb-driver') // eslint-disable-line import/no-unresolved
/* eslint-disable import/no-unresolved */

const driver = require('bigchaindb-driver')
require('dotenv').config()


Expand Down
4 changes: 3 additions & 1 deletion examples/src/basic-usage.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
const driver = require('bigchaindb-driver') // eslint-disable-line import/no-unresolved
/* eslint-disable import/no-unresolved */

const driver = require('bigchaindb-driver')
require('dotenv').config()


Expand Down
4 changes: 3 additions & 1 deletion examples/src/query-assets.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
const driver = require('bigchaindb-driver') // eslint-disable-line import/no-unresolved
/* eslint-disable import/no-unresolved */

const driver = require('bigchaindb-driver')
require('dotenv').config()


Expand Down
6 changes: 4 additions & 2 deletions examples/src/seed-func.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import bip39 from 'bip39' // eslint-disable-line import/no-unresolved
/* eslint-disable import/no-unresolved */

const driver = require('bigchaindb-driver') // eslint-disable-line import/no-unresolved
import bip39 from 'bip39'

const driver = require('bigchaindb-driver')

// ======== Create Keypair ======== //
/**
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"main": "./dist/node/index.js",
"browser": "./dist/browser/bigchaindb-driver.cjs2.min.js",
"scripts": {
"lint": "eslint ./",
"lint": "./node_modules/.bin/eslint ./",
"build": "npm run clean && npm run build:cjs && npm run build:dist",
"build:bundle": "webpack",
"build:cjs": "cross-env BABEL_ENV=cjs babel ./src -d dist/node",
Expand Down

0 comments on commit 4570b24

Please sign in to comment.