-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.yml
44 lines (44 loc) · 1022 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
43
44
language: python
dist: xenial
python:
- '3.8'
- '3.7'
- '3.6'
- '3.5'
env:
- DJANGO_VERSION=2.2.*
- DJANGO_VERSION=2.1.*
- DJANGO_VERSION=2.0.*
- DJANGO_VERSION=1.11.*
install:
- pip install Django==$DJANGO_VERSION
- pip install -r requirements.txt
- pip install -r test_requirements.txt
- pip install coveralls
cache:
directories:
- "$HOME/virtualenv"
script:
- pycodestyle .
- pylint aloe_django setup.py tests
- coverage erase
- coverage run -m nose
- coverage combine . tests/integration/django/*
- coverage report
- "./tools/check_installs"
- make -C docs coverage
after_success:
- coveralls
sudo: false
deploy:
provider: pypi
user: koterpillar
password:
secure: fvpM7CEiJwvoID1TXYHJC8KzKfKdYo5QwFIeXBfvxixrdGmeRm+lNraMkGYVa69VlyXz5xBjKr/TB7JCIGvQfcK80PHBYfNTrQZbrW9aR5TAi6gEvEvF5yh0o2IzqOJRMw1TV/EP8/cdqtmAV40MhJ3PCMRTSqQ3+cqQHtU8/pI=
on:
tags: true
all_branches: true
python: 3.8
condition:
- '"$DJANGO_VERSION" = "2.2.*"'
- '"$TRAVIS_TAG" = "v$(python setup.py --version)"'