Skip to content

Commit

Permalink
Merge ba9284d into 472db2e
Browse files Browse the repository at this point in the history
  • Loading branch information
zenflow committed Feb 26, 2018
2 parents 472db2e + ba9284d commit 60bd4a9
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,8 @@ node_js:
- 6
- 8
- 9

script:
- npm run lint
- npm run test
- npm run coverage
17 changes: 14 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
version: 4.0.{build}
build:
verbosity: minimal
version: "{build}"
build: off
environment:
matrix:
- nodejs_version: "4"
- nodejs_version: "6"
- nodejs_version: "8"
- nodejs_version: "9"
install:
- ps: Install-Product node $env:nodejs_version
- npm install
test_script:
- npm run lint
- npm run test
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"description": "Loads environment variables from .env file",
"main": "lib/main.js",
"scripts": {
"pretest": "npm run lint",
"test": "lab test/* -r lcov | coveralls",
"test": "lab",
"lint": "standard",
"postlint": "npm run lint-md",
"lint-md": "standard-markdown"
"lint-md": "standard-markdown",
"coverage": "lab -r lcov | coveralls"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion test/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ describe('config', function () {
describe('preload', function () {
it('loads .env', function (done) {
cp.exec(
nodeBinary + ' -r ../config -e "console.log(process.env.BASIC)" dotenv_config_path=./test/.env',
'"' + nodeBinary + '" -r ../config -e "console.log(process.env.BASIC)" dotenv_config_path=./test/.env',
function (err, stdout, stderr) {
if (err) {
return done(err)
Expand Down

0 comments on commit 60bd4a9

Please sign in to comment.