dist: xenial

language: python
python:
    - 3.6
    - 3.7

addons:
    apt-packages:
        -sqlite3

before_install:
    - make install
    - make migrate
    - cd InvenTree && python3 manage.py createsuperuser --username InvenTreeAdmin --email admin@inventree.com --noinput && cd ..

script:
    - python3 ci/check_migration_files.py
    - make coverage
    - make style

after_success:
    - coveralls
dist: xenial

language: python
python:
    - 3.6
    - 3.7

addons:
    apt-packages:
        -sqlite3

before_install:
    - make install
    - make migrate
    - cd InvenTree && python3 manage.py createsuperuser --username InvenTreeAdmin --email admin@inventree.com --noinput && cd ..

script:
    - cd InvenTree && python3 manage.py makemigrations && cd ..
    - python3 ci/check_migration_files.py
    - make coverage
    - make style

after_success:
    - coveralls
Make migrations before running script
Make migrations before running script
