More fixes to .travis.yml

Database in a strange location?
This commit is contained in:
Oliver Walters 2020-11-12 19:11:12 +11:00
parent 6e7224ee7c
commit 7879c7565e
2 changed files with 2 additions and 19 deletions

View File

@ -1,17 +0,0 @@
# .readthedocs.yml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
version: 2
# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py
formats: all
# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.5
install:
- requirements: docs/requirements.txt

View File

@ -39,13 +39,13 @@ script:
- invoke translate - invoke translate
- invoke style - invoke style
# Create an empty database and fill it with test data # Create an empty database and fill it with test data
- rm inventree_default_db.sqlite3 - rm InvenTree/inventree_default_db.sqlite3
- invoke migrate - invoke migrate
- invoke import-fixtures - invoke import-fixtures
# Export database records # Export database records
- invoke export-records -f data.json - invoke export-records -f data.json
# Create a new empty database and import the saved data # Create a new empty database and import the saved data
- rm inventree_default_db.sqlite3 - rm InvenTree/inventree_default_db.sqlite3
- invoke migrate - invoke migrate
- invoke import-records -f data.json - invoke import-records -f data.json