2019-04-13 22:34:37 +00:00
|
|
|
dist: xenial
|
|
|
|
|
2017-03-23 21:34:41 +00:00
|
|
|
language: python
|
|
|
|
python:
|
2019-07-08 09:23:30 +00:00
|
|
|
- 3.6
|
2019-07-08 09:24:46 +00:00
|
|
|
- 3.7
|
2019-04-13 22:34:37 +00:00
|
|
|
|
|
|
|
addons:
|
|
|
|
apt-packages:
|
|
|
|
-sqlite3
|
2017-03-23 21:34:41 +00:00
|
|
|
|
|
|
|
before_install:
|
2019-09-01 12:31:21 +00:00
|
|
|
- make install
|
2019-04-27 22:42:17 +00:00
|
|
|
- make migrate
|
2019-09-10 04:40:29 +00:00
|
|
|
- cd InvenTree && python3 manage.py createsuperuser --username InvenTreeAdmin --email admin@inventree.com --noinput && cd ..
|
2017-04-10 20:55:55 +00:00
|
|
|
|
2017-03-23 21:34:41 +00:00
|
|
|
script:
|
2019-09-15 13:43:39 +00:00
|
|
|
- cd InvenTree && python3 manage.py makemigrations && cd ..
|
2019-09-15 13:42:36 +00:00
|
|
|
- python3 ci/check_migration_files.py
|
2019-04-24 17:12:41 +00:00
|
|
|
- make coverage
|
2019-04-13 22:41:13 +00:00
|
|
|
- make style
|
2019-04-24 05:32:50 +00:00
|
|
|
|
2019-04-24 05:36:45 +00:00
|
|
|
after_success:
|
2019-04-24 05:32:50 +00:00
|
|
|
- coveralls
|