language: python python: - '3.6' services: - redis-server - mysql env: global: - DJANGO_SETTINGS_MODULE=regluit.settings.travis - PYTHONPATH=/home/travis/build/Gluejar/ before_install: - sudo mkdir /var/log/django - sudo chmod 777 /var/log/django - mkdir ~/build/Gluejar/regluit/settings/keys/ - cp ~/build/Gluejar/regluit/settings/dummy/__init__.py ~/build/Gluejar/regluit/settings/keys/__init__.py - openssl aes-256-cbc -K $encrypted_690265ba1262_key -iv $encrypted_690265ba1262_iv -in ~/build/Gluejar/regluit/test/travis-host.py.enc -out ~/build/Gluejar/regluit/settings/keys/host.py -d install: - pip install -r requirements.txt script: django-admin test