-
Notifications
You must be signed in to change notification settings - Fork 74
Expand file tree
/
Copy path.travis.yml
More file actions
36 lines (35 loc) · 800 Bytes
/
.travis.yml
File metadata and controls
36 lines (35 loc) · 800 Bytes
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
sudo: false
language: python
env:
global:
- DATABASE_NAME="travis_ci"
- DATABASE_USER="postgres"
- DATABASE_PORT=5432
- DATABASE_HOST=""
- DATABASE_PASSWORD=""
- DJANGO_SETTINGS_MODULE="project.settings"
- SECRET_KEY="sadfjasasdfasdfsadfsadfsadfeq"
matrix:
- DJANGO_VERSION="Django==3.2"
python:
- "3.7"
- "3.8"
- "3.9"
# - "3.10"
install:
- pip install poetry
- cd example
- poetry install
- poetry run pip install -q $DJANGO_VERSION
before_script:
- poetry run black --check .
- poetry run black --check ../import_export_celery
script:
- poetry run python3 manage.py test
after_script:
- coveralls
addons:
postgresql: "9.6"
matrix:
allow_failures:
- env: DJANGO_VERSION='https://github.com/django/django/archive/master.tar.gz'