mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-11-04 07:05:41 +00:00 
			
		
		
		
	More fixes to .travis.yml
Database in a strange location?
This commit is contained in:
		@@ -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
 | 
					 | 
				
			||||||
@@ -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
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user