Adam Shaw 7 lat temu
rodzic
commit
2b13af7213
1 zmienionych plików z 3 dodań i 1 usunięć
  1. 3 1
      .travis.yml

+ 3 - 1
.travis.yml

@@ -11,9 +11,11 @@ cache:
 
 env:
   global:
-    - TZ="America/Los_Angeles"
+    - TZ="America/Los_Angeles" # for Headless Chrome. otherwise will be UTC, bad for tests
   matrix:
     - CMD=test
     - CMD=lint
 
+# TODO: instead of flag, use env variable TRAVIS
+# https://docs.travis-ci.com/user/environment-variables/#default-environment-variables
 script: npm run $CMD -- --travis