Update .travis.yml to cover dev.py

This commit is contained in:
Pouria Hadjibagheri 2017-04-23 10:34:49 +01:00
parent 96f68a23dd
commit d67bbe8a0c
2 changed files with 5 additions and 4 deletions

View file

@ -54,6 +54,7 @@ before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then source venv/bin/activate ; fi
install:
- python dev.py -no-container
- pip install -q Django==$DJANGO
- python setup.py install

8
dev.py
View file

@ -346,8 +346,8 @@ def main():
action='store_const',
dest='run',
const=run_docker,
help='Run vagrant development environment '
'(runs --vagrant if the files don\'t already exist). '
help='Run docker development environment '
'(runs --docker if the files don\'t already exist). '
'Docker must already be installed on your machine, and '
'Docker Daemon must be up and running.'
)
@ -357,8 +357,8 @@ def main():
action='store_const',
dest='run',
const=no_container,
help='Run vagrant development environment (runs --vagrant '
'if the files don\'t already exist).'
help='Create development files without a container-based '
'development environment (creates "manage.py").'
)
parser.add_argument(