From 17cd5c69714ba228f5391a0d5e4baf0bfa5e25af Mon Sep 17 00:00:00 2001
From: Aya Morisawa <AyaMorisawa4869@gmail.com>
Date: Tue, 28 Feb 2017 00:32:20 +0900
Subject: [PATCH] Fix bug

---
 .travis.yml | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 0e04596ec8..04a7dc23b6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,9 +6,6 @@ language: node_js
 node_js:
   - "7.6.0"
 
-env:
-  - NODE_ENV=production
-
 services:
   - mongodb
   - redis-server
@@ -17,7 +14,7 @@ before_script:
   - mkdir ./.config
   - cp ./.ci-files/default.yml ./.config
   - cp ./.ci-files/test.yml ./.config
-  - npm run build
+  - NODE_ENV=production && npm run build
 
 after_success:
   - openssl aes-256-cbc -K $encrypted_ceda82069128_key -iv $encrypted_ceda82069128_iv -in .travis_rsa.enc -out .travis_rsa -d