Simplify makefile again

- Remove setup target
- Fix travis
This commit is contained in:
Oliver Walters 2019-09-01 22:54:48 +10:00
parent 10ca3b1b93
commit 0480925186
2 changed files with 1 additions and 7 deletions

View File

@ -11,7 +11,6 @@ addons:
before_install:
- make install
- make setup
- make migrate
script:

View File

@ -22,11 +22,6 @@ install:
pip3 install -U -r requirements.txt
python3 InvenTree/setup.py
# Perform initial database setup
setup:
$(MAKE) migrate
$(MAKE) superuser
# Create a superuser account
superuser:
python3 InvenTree/manage.py createsuperuser
@ -65,4 +60,4 @@ backup:
python3 InvenTree/manage.py dbbackup
python3 InvenTree/manage.py mediabackup
.PHONY: clean migrate setup superuser install mysql style test coverage docreqs docs backup
.PHONY: clean migrate superuser install mysql style test coverage docreqs docs backup