mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Update .travis.yml - preparation for renovate
- attempt to do a regression build for cron OR renovate - we want to run all tests when dependencies are updated, and on nightlies
This commit is contained in:
parent
23215e7d74
commit
ce57718b93
1 changed files with 5 additions and 1 deletions
|
@ -24,6 +24,10 @@ matrix:
|
|||
- node_js: "10"
|
||||
env: TEST_SUITE=lint
|
||||
fast_finish: true
|
||||
|
||||
branches:
|
||||
except:
|
||||
- /^renovate\/.+$/
|
||||
|
||||
before_install:
|
||||
- if [ $DB == "mysql" ]; then mysql -e 'create database ghost_testing'; fi
|
||||
|
@ -37,7 +41,7 @@ install:
|
|||
- if [ "$DB" == "sqlite3" ]; then yarn add --force sqlite3; fi # fix sqlite caching issues
|
||||
|
||||
script: |
|
||||
if [ "${TRAVIS_EVENT_TYPE}" = "cron" ] && [ "${TEST_SUITE}" != "lint" ]; then
|
||||
if [[ ( "$TRAVIS_PULL_REQUEST_BRANCH" =~ ^renovate || "$TRAVIS_EVENT_TYPE" == "cron" ) && "$TEST_SUITE" != "lint" ]]; then
|
||||
yarn test:regression
|
||||
else
|
||||
yarn test
|
||||
|
|
Loading…
Add table
Reference in a new issue