Fixed lint build for cron job

no issue

- i assume it's failing because it tries to run regression tests, but it has no NODE_ENV set
This commit is contained in:
kirrg001 2019-01-29 19:29:07 +01:00
parent fa4daf8052
commit e3a573f215

View File

@ -40,7 +40,7 @@ install:
- if [ "$DB" == "sqlite3" ]; then yarn add --force sqlite3; fi # fix sqlite caching issues
script: |
if [ "${TRAVIS_EVENT_TYPE}" = "cron" ]; then
if [ "${TRAVIS_EVENT_TYPE}" = "cron" && "${TEST_SUITE}" != "lint"]; then
yarn test:regression
else
yarn test