Fix issue with background_task migration

Split out development requirements
This commit is contained in:
Torsten Grote 2017-04-17 12:24:19 -03:00
parent a48165ba4a
commit a5256aef53
No known key found for this signature in database
GPG Key ID: 3E5F77D92CF891FF
5 changed files with 9 additions and 5 deletions

View File

@ -4,10 +4,11 @@ before_script:
- apt-get update -qq
- apt-get install -y -qq python3-rjsmin python3-rcssmin build-essential
- pip3 install -r requirements.txt
- pip3 install -r requirements-dev.txt
- ln -s /usr/bin/pylint3 /usr/local/bin/pylint
test:
script:
- python3 manage.py makemigrations background_task
- python3 manage.py makemigrations maker
- python3 manage.py migrate
- ./run-tests.sh

View File

@ -18,7 +18,7 @@ ignore-patterns=
#init-hook=
# Use multiple processes to speed up Pylint.
jobs=1
jobs=4
# List of plugins (as comma separated values of python modules names) to load,
# usually to register additional checkers.

3
requirements-dev.txt Normal file
View File

@ -0,0 +1,3 @@
pep8
coverage
pylint-django

View File

@ -1,9 +1,9 @@
django
django-background-tasks==1.1.6
#django-background-tasks>=1.1.9
git+https://github.com/arteria/django-background-tasks.git@v1.1.9#egg=django-background-tasks
django-compressor
django-sass-processor
qrcode
coverage
apache-libcloud>=2.0.0rc2
#fdroidserver>=0.8.0
#git+https://gitlab.com/grote/fdroidserver.git@4d25113fa0f6ad923b6b71ff9c8cb139042b1f9e#egg=fdroidserver

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
set -x
pip3 install -r requirements.txt --user && \
python3 manage.py makemigrations background_task && \
python3 manage.py makemigrations maker && \
python3 manage.py migrate && \
echo "All set up, now execute run.sh"