Skip to content

Commit

Permalink
Merge 9f13b8f into 4ecd52f
Browse files Browse the repository at this point in the history
  • Loading branch information
OmgImAlexis committed Aug 14, 2017
2 parents 4ecd52f + 9f13b8f commit 0791e15
Show file tree
Hide file tree
Showing 42 changed files with 3,175 additions and 2,411 deletions.
4 changes: 3 additions & 1 deletion .gitignore
@@ -1,3 +1,5 @@
node_modules
coverage.html
.idea
.idea
.nyc_output
coverage
5 changes: 3 additions & 2 deletions .travis.yml
Expand Up @@ -23,7 +23,6 @@ env:
matrix:
- MONGODB_VER=2.6.6
- MONGODB_VER=3.4.6
script: make test-once
before_script:
- sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6
- if [[ $MONGODB_VER == 2.* ]]; then echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list; fi
Expand All @@ -32,4 +31,6 @@ before_script:
- sudo apt-get install -y mongodb-org=$MONGODB_VER
- sleep 15 #mongo may not be responded directly. See http://docs.travis-ci.com/user/database-setup/#MongoDB
- mongo --version
after_script: make test-coveralls
script: yarn test
after_script:
- './node_modules/.bin/nyc report --reporter=text-lcov | ./node_modules/.bin/coveralls'
23 changes: 0 additions & 23 deletions Makefile

This file was deleted.

7 changes: 7 additions & 0 deletions lib/index.js
@@ -0,0 +1,7 @@
const Agenda = require('./agenda');
const Job = require('./job');

module.exports = {
Agenda,
Job
};
19 changes: 7 additions & 12 deletions package.json
Expand Up @@ -7,13 +7,9 @@
"lib"
],
"scripts": {
"test": "npm run lint && npm run mocha",
"lint": "xo --verbose",
"mocha": "mocha --reporter spec --timeout 8000 -b",
"blanket": {
"pattern": "lib",
"data-cover-never": "node_modules"
}
"test": "npm run lint && npm run ava",
"lint": "xo",
"ava": "nyc ava --fail-fast"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -41,13 +37,12 @@
"mongodb": "~2.2.10"
},
"devDependencies": {
"blanket": "^1.2.3",
"ava": "^0.21.0",
"coveralls": "^2.13.1",
"eslint": "^4.2.0",
"expect.js": "^0.3.1",
"mocha": "^3.4.2",
"mocha-lcov-reporter": "^1.3.0",
"delay": "^2.0.0",
"nyc": "^11.1.0",
"q": "^1.5.0",
"uuid": "^3.1.0",
"xo": "^0.18.2"
},
"xo": {
Expand Down

0 comments on commit 0791e15

Please sign in to comment.