diff --git a/.travis.yml b/.travis.yml index fa8636a..34d14b0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,15 @@ -language: node_js +language: + node_js node_js: - "node" services: - mongodb -env: - global: - - NODE_ENV=travisci cache: directories: - "node_modules" +install: + - npm install -g codecov + - npm install -g istanbul +script: + - istanbul cover ./node_modules/mocha/bin/_mocha --reporter lcovonly -- -R spec + - codecov diff --git a/config/travisci.json b/config/travisci.json deleted file mode 100644 index 4582b31..0000000 --- a/config/travisci.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "Server": { - "port": 8080, - "hostname": "http://localhost:8080" - }, - "Database": { - "host": "mongodb://localhost:27017/shimapan" - }, - "Upload": { - "path": "uploads" - }, - "Log": { - "http": false - }, - "User": { - "Password": { - "saltLength": 8, - "hashIterations": 1 - } - } -} \ No newline at end of file