From 820233e47f948ca015fa739c564421832b46eb85 Mon Sep 17 00:00:00 2001 From: Josh Wilson Date: Sun, 13 Nov 2016 15:43:22 +0100 Subject: [PATCH] node env = production for travis --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 6dae99f6e1..c52806a67b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,10 @@ matrix: node_js: - '6.3.1' + +env: + global: + - NODE_ENV=production cache: directories: @@ -29,7 +33,6 @@ before_script: # - npm run build script: - - export NODE_ENV=production - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then npm run release:mac; fi - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then npm run release:linux; fi