Explorar el Código

Internal: Turn on the production mode for tests on Travis.

Kamil Piechaczek hace 6 años
padre
commit
cae814471c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      .travis.yml

+ 1 - 1
.travis.yml

@@ -21,7 +21,7 @@ install:
 - rm -rf node_modules
 - rm -rf node_modules
 - yarn install
 - yarn install
 script:
 script:
-- yarn run test --reporter=dots
+- yarn run test --reporter=dots --production
 - yarn run docs:api --validate-only
 - yarn run docs:api --validate-only
 - 'if [ $TRAVIS_TEST_RESULT -eq 0 ]; then
 - 'if [ $TRAVIS_TEST_RESULT -eq 0 ]; then
     travis_wait 30 yarn run docs:build-and-publish-nightly;
     travis_wait 30 yarn run docs:build-and-publish-nightly;