Skip to content

Commit 7ea808d

Browse files
authored
Merge pull request #1 from node-modli/refactor/dust-off
refactor(misc): broad updates
2 parents ee2064e + e7abf0c commit 7ea808d

File tree

15 files changed

+2521
-611
lines changed

15 files changed

+2521
-611
lines changed

.babelrc

Lines changed: 0 additions & 4 deletions
This file was deleted.

.codeclimate.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ docs
88
.idea/
99
_builds/
1010
_projects/
11-
_steps/
11+
_steps/
12+
.yarn-cache

.npmignore

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
dockerfiles
2-
test
3-
src
4-
.codeclimate.yml
52
.gitignore
63
.jshintrc
7-
wercker.yml
4+
coverage

.travis.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
sudo: required
2+
3+
services:
4+
- docker
5+
6+
language: node_js
7+
node_js:
8+
- "6"
9+
10+
before_install:
11+
- npm i -g binci
12+
13+
install:
14+
- binci install
15+
16+
script:
17+
- binci lint cover
18+
19+
after_success:
20+
- sudo chmod -R 777 .yarn-cache/ && sudo chmod -R 777 node_modules/ && sudo chmod -R 777 ~/.npm
21+
- export DEPLOY_SHA=$TRAVIS_COMMIT

Makefile

Lines changed: 0 additions & 77 deletions
This file was deleted.

binci.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
from: technologyadvice/node-build:6
2+
services:
3+
- postgres:
4+
from: postgres
5+
env:
6+
- POSTGRES_USER=test
7+
- POSTGRES_PASSWORD=test
8+
- POSTGRES_DB=test
9+
env:
10+
- POSTGRES_USER=test
11+
- POSTGRES_PASSWORD=test
12+
- POSTGRES_DB=test
13+
before: |
14+
export MODLI_POSTGRES_HOST=$POSTGRES_PORT_5432_TCP_ADDR
15+
tasks:
16+
env: env | sort
17+
clean:
18+
disable: '*'
19+
cmd: yarn run clean
20+
install:
21+
disable: '*'
22+
cmd: yarn install
23+
mocha: |
24+
node ./scripts/postgres_conn.js
25+
yarn run mocha
26+
test: |
27+
node ./scripts/postgres_conn.js
28+
yarn run test
29+
cover: |
30+
node ./scripts/postgres_conn.js
31+
yarn run cover
32+
lint:
33+
disable: '*'
34+
cmd: yarn run lint

build/index.js

Lines changed: 0 additions & 220 deletions
This file was deleted.

0 commit comments

Comments
 (0)