0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Enabled full test suite on Renovate PRs

no issue

- only regression tests were being run on Renovate PRs, which allowed
  bad updates to go through
- this commit enables the full test suite
This commit is contained in:
Daniel Lockyer 2020-02-19 09:50:26 +00:00
parent e8dd42d040
commit e7d2d440e0

View file

@ -21,9 +21,7 @@ before_script:
- if [ $DB == "mysql" ]; then mysql -e 'create database ghost_testing'; fi
- if [ "$DB" == "sqlite3" ]; then yarn add --force sqlite3; fi
script: |
if [[ "$TRAVIS_PULL_REQUEST_BRANCH" =~ ^renovate || "$TRAVIS_EVENT_TYPE" == "cron" ]]; then
yarn ci:regression
elif [[ "$TRAVIS_PULL_REQUEST" == "false" ]]; then
if [[ "$TRAVIS_PULL_REQUEST_BRANCH" =~ ^renovate || "$TRAVIS_PULL_REQUEST" == "false" ]]; then
grunt test-all --verbose
else
yarn ci