2018-05-23 19:46:26 +00:00
|
|
|
language: python
|
|
|
|
|
|
|
|
python:
|
|
|
|
- '2.7'
|
|
|
|
|
|
|
|
services:
|
|
|
|
- redis-server
|
|
|
|
- mysql
|
|
|
|
|
|
|
|
env:
|
2018-05-24 16:16:51 +00:00
|
|
|
global:
|
|
|
|
- DJANGO_SETTINGS_MODULE=regluit.settings.travis
|
2018-11-03 21:23:07 +00:00
|
|
|
- PYTHONPATH=/home/travis/build/Gluejar/
|
2018-05-24 01:30:52 +00:00
|
|
|
|
2018-05-23 19:46:26 +00:00
|
|
|
before_install:
|
|
|
|
- sudo mkdir /var/log/django
|
|
|
|
- sudo chmod 777 /var/log/django
|
2018-11-03 21:23:07 +00:00
|
|
|
- mkdir ~/build/Gluejar/regluit/settings/keys/
|
|
|
|
- cp ~/build/Gluejar/regluit/settings/dummy/__init__.py ~/build/Gluejar/regluit/settings/keys/__init__.py
|
2019-04-10 20:17:19 +00:00
|
|
|
- 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
|
2018-05-23 19:46:26 +00:00
|
|
|
|
2018-05-23 20:49:12 +00:00
|
|
|
install:
|
|
|
|
- pip install -r requirements_versioned.pip
|
2018-05-23 19:46:26 +00:00
|
|
|
|
2018-06-05 19:26:37 +00:00
|
|
|
script: django-admin test
|