-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
42 lines (34 loc) · 921 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# A basic travis.yml boilerplate for Django projects
#
# The set-up assumes a postgreSQL database.
#
# Replace the following variables in the code:
# * your_project_settings
# * your_github_username
# * your_repo
sudo: no
dist: xenial
language: python
python:
- 3.7
# services: postgresql
# env:
# - dj-database-url=0.5.0
# - Django=3.0.6
# - djangorestframework=3.11.0
# - gunicorn=20.0.4
# - psycopg2=2.8.5
# - python-decouple=3.3
# - pytz=2020.1
# before_install:
# - export DJANGO_SETTINGS_MODULE=your_project.settings
# - export PYTHONPATH=$HOME/builds/your_github_username/your_repo
# - export PIP_USE_MIRRORS=true
install:
- pip install -r requirements.txt
# - pip install django==$Django --quietk
# - pip install psycopg2 --quiet
# before_script:
# - psql -c "CREATE DATABASE mydb;" -U postgres
script:
- python "dsrp/manage.py" test # no runserver because cant stop