2018-06-07 03:27:08 +00:00
|
|
|
language: python
|
|
|
|
|
|
|
|
python:
|
|
|
|
- '2.7'
|
|
|
|
|
|
|
|
services:
|
|
|
|
- redis-server
|
|
|
|
- mysql
|
|
|
|
|
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- DJANGO_SETTINGS_MODULE=regluit.settings.travis
|
2018-06-07 03:34:06 +00:00
|
|
|
- PYTHONPATH=/home/travis/build/Gluejar/
|
2018-06-07 03:27:08 +00:00
|
|
|
|
|
|
|
before_install:
|
|
|
|
- sudo mkdir /var/log/django
|
|
|
|
- sudo chmod 777 /var/log/django
|
2018-06-08 23:12:27 +00:00
|
|
|
- mkdir ~/build/Gluejar/regluit/settings/keys/
|
|
|
|
- cp ~/build/Gluejar/regluit/settings/dummy/__init__.py ~/build/Gluejar/regluit/settings/keys/__init__.py
|
2018-06-07 18:39:36 +00:00
|
|
|
- openssl aes-256-cbc -K $encrypted_56eb2b7cc527_key -iv $encrypted_56eb2b7cc527_iv -in ~/build/Gluejar/regluit/test/travis-host.py.enc -out ~/build/Gluejar/regluit/settings/keys/host.py -d
|
2018-06-07 03:27:08 +00:00
|
|
|
|
|
|
|
install:
|
|
|
|
- pip install -r requirements_versioned.pip
|
|
|
|
|
|
|
|
script: django-admin test
|