From c7be9c1e036481275770d67102e1ae7e874a0e9b Mon Sep 17 00:00:00 2001 From: Mike McNeil Date: Sat, 24 Mar 2018 17:19:53 -0500 Subject: [PATCH] Set NODE_ENV in appveyor.yml, and try removing 'env' from .travis.yml to fix weird install problem (https://travis-ci.org/mikermcneil/parley/jobs/357906907#L459) --- .travis.yml | 3 --- appveyor.yml | 3 ++- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index e819aad..3d4b29b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,6 +24,3 @@ branches: notifications: email: - ci@sailsjs.com - -env: - - NODE_ENV=production diff --git a/appveyor.yml b/appveyor.yml index dd13d13..3fa2df5 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -12,6 +12,7 @@ # Test against these versions of Node.js. environment: + NODE_ENV: production matrix: - nodejs_version: "4" - nodejs_version: "6" @@ -34,7 +35,7 @@ test_script: - node --version - npm --version # Run the actual tests. - - SET NODE_ENV=production && npm run custom-tests && SET NODE_ENV=production && node ./node_modules/mocha/bin/mocha test/*.benchmark.js + - npm run custom-tests && node ./node_modules/mocha/bin/mocha test/*.benchmark.js # Don't actually build.