Skip to content

Commit

Permalink
Added CI stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
decanus committed Dec 6, 2017
1 parent cf3f3a1 commit b63c4d5
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 5 deletions.
1 change: 1 addition & 0 deletions .soliumignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
9 changes: 9 additions & 0 deletions .soliumrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"extends": "solium:all",
"rules": {
"indentation": ["error", 4],
"quotes": ["error", "double"],
"arg-overflow": "off",
"blank-lines": "off"
}
}
20 changes: 20 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
sudo: required

dist: trusty

language: node_js

node_js:
- "8"
env:
- TASK=test
- TASK=lint
matrix:
fast_finish: true
allow_failures:
- env: TASK=lint
script:
- npm run $TASK

notifications:
email: false
14 changes: 14 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"requires": true,
"lockfileVersion": 1,
"devDependencies": {
"solium": "^1.0.4",
"truffle": "^4.0.0"
},
"scripts": {
"pretest": "truffle compile",
"test": "truffle test",
"watch": "npm-watch",
"lint": "solium --dir ./contracts"
}
}
5 changes: 0 additions & 5 deletions truffle.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
module.exports = {
networks: {
development: {
host: "localhost",
port: 8545,
network_id: "*" // Match any network id
},
ropsten: {
host: "localhost",
port: 8545,
Expand Down

0 comments on commit b63c4d5

Please sign in to comment.