From 5c8e65c2856a283de5d1537f0a8f7f02d9683391 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Thu, 4 Feb 2021 00:01:16 +1100 Subject: [PATCH] Only run linter checks for *new* migration files --- .travis.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 071b50fec5..872ef0eb0d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -50,8 +50,7 @@ script: - invoke import-records -f data.json # Run linting checks on migration files (django-migration-linter) # Run subset of linting checks on *ALL* migration files - - cd InvenTree && python manage.py lintmigrations --exclude-migration-test NOT_NULL ADD_UNIQUE -q ok ignore --no-cache && cd .. - # Run stricter checks on *NEW* migrations (old ones are what they are) + # Run strict migration file checks on *NEW* migrations (old ones are what they are) - cd InvenTree && python manage.py lintmigrations 79ddea50f507e34195bad635008419daac0d7a5f -q ok ignore --no-cache && cd .. after_success: