regluit/.travis.yml

26 lines
734 B
YAML
Raw Normal View History

language: python
2020-02-20 20:26:58 +00:00
dist: bionic
python:
2020-02-18 02:29:41 +00:00
- '3.6'
services:
- redis-server
- mysql
env:
2018-05-24 16:16:51 +00:00
global:
- DJANGO_SETTINGS_MODULE=regluit.settings.travis
- PYTHONPATH=/home/travis/build/Gluejar/
before_install:
- sudo mkdir ~/build/Gluejar/regluit/logs/
- sudo chmod 777 ~/build/Gluejar/regluit/logs/
- 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 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