2018-05-23 19:46:26 +00:00
|
|
|
language: python
|
2020-02-20 20:26:58 +00:00
|
|
|
dist: bionic
|
2018-05-23 19:46:26 +00:00
|
|
|
python:
|
2020-02-18 02:29:41 +00:00
|
|
|
- '3.6'
|
2018-05-23 19:46:26 +00:00
|
|
|
|
|
|
|
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:
|
2020-08-12 17:50:07 +00:00
|
|
|
- sudo mkdir ~/build/Gluejar/regluit/logs/
|
|
|
|
- sudo chmod 777 ~/build/Gluejar/regluit/logs/
|
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:
|
2020-02-18 02:29:41 +00:00
|
|
|
- pip install -r requirements.txt
|
2020-02-27 22:18:32 +00:00
|
|
|
|
|
|
|
script: django-admin test
|