Skip to content

Commit

Permalink
node env = production for travis
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuef committed Nov 13, 2016
1 parent dd960cd commit 820233e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ matrix:

node_js:
- '6.3.1'

env:
global:
- NODE_ENV=production

cache:
directories:
Expand All @@ -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

Expand Down

0 comments on commit 820233e

Please sign in to comment.