fix(ci): move time zone test env variable to script

This way we don't create a dedicated cache file
This commit is contained in:
Łukasz Mierzwa
2019-08-31 10:55:40 +01:00
parent ae03221ea0
commit 865ea8495e

View File

@@ -46,10 +46,7 @@ jobs:
- stage: Test
name: Test JavaScript code with Pacific/Easter time zone
<<: *DEFAULTS_JS
env:
- NODE_ENV=test
- TZ=Pacific/Easter
script: make test-js
script: env TZ=Pacific/Easter make test-js
after_success:
- travis_retry curl -s --fail https://codecov.io/bash | bash -s -- -F ui