Update travis file

This commit is contained in:
Oliver Walters 2020-08-21 21:27:39 +10:00
parent 592e87941d
commit 513142d487

View File

@ -12,16 +12,17 @@ addons:
before_install: before_install:
- sudo apt-get update - sudo apt-get update
- sudo apt-get install gettext - sudo apt-get install gettext
- make install - pip3 install invoke
- make migrate - invoke install
- invoke migrate
- cd InvenTree && python3 manage.py createsuperuser --username InvenTreeAdmin --email admin@inventree.com --noinput && cd .. - cd InvenTree && python3 manage.py createsuperuser --username InvenTreeAdmin --email admin@inventree.com --noinput && cd ..
script: script:
- cd InvenTree && python3 manage.py makemigrations && cd .. - cd InvenTree && python3 manage.py makemigrations && cd ..
- python3 ci/check_migration_files.py - python3 ci/check_migration_files.py
- make coverage - invoke coverage
- make translate - invoke translate
- make style - invoke style
after_success: after_success:
- coveralls - coveralls