-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
55 lines (47 loc) · 1.54 KB
/
.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
45
46
47
48
49
50
51
52
53
54
55
dist: bionic
language: python
python:
- '3.6'
- '3.7'
- '3.8'
-
stages:
- lint
- test
- deploy
env:
matrix:
- DJANGO_VERSION=2.2.*
- DJANGO_VERSION=3.0.*
- DJANGO_VERSION=3.1.*
- DJANGO_VERSION=dev
install:
- pip install .[dev]
- if [[ $DJANGO_VERSION == dev ]]; then pip install -e git+https://github.com/django/django@master#egg=django;
else pip install Django==$DJANGO_VERSION -U; fi
script:
- coverage run --source=template_model ./manage.py test
after_success:
- codecov
jobs:
allow_failures:
- env: DJANGO_VERSION=dev
include:
- stage: lint
install:
- pip3 install flake8
script:
- flake8 template_model
after_success: skip
- stage: deploy
install: skip
before_script: skip
script: skip
deploy:
cleanup: false
provider: pypi
username: __token__
password:
secure: uwKtqZA1iLTIBTsbljaUvwHmsE4vUOWyIqlkdcgKPcznqjH6mDtntU9RqBdDvvxvN2//85gCkroxc8CuI1EoSsvkc96zTMCAamm4yChrMBa7gTnode+ZKrhB8Oh3Qv3z0ZJsnLHHenEisdpVtu7OomEzJeIWjBWTHVYoaTpsMFTEInUUDKyN0noD85RG1Ow8rbUThw+9vVAPhPY8OGhqjSeQfmfQui5hq6rba1sXfwCDp8qnu5PidiwO6JGA3rxPGa555zlhk7v0V3FLO2s8q29U1yyXqi2t8Renhb4zEWAa+a5A/c2DfmmwvtNRLxUC3dEoKZyecA1Ey5Qo69pM9PH0NPuBqhlgqgqdLZkRaYF1YHOJN5/ddNXxCdoDfkmLaVVxvfz/ILe6ewpzyg4bWz8zIopOL9qxWxNiHjoA2/5YZK/7KtjPpEqkT5bZisMioPp4ngQNLnIvUY2qCPKJ4tMTmoiVmk4mpOFgR4aNzGkDz8Um0De9Lv5DhM5GbHfbkyok2FFpiV5/g3/Rh2HAs9XRI3DHW3zrfEf+sd9Uaa3pIynLfjysOk+uYNiD3uZwQtmbVLgOjf6/gKPr/hze2m9CzK9qtOsV7a1qGkZnHx0f2zNKw7Q4Cx3ieqn8N88T476tBeJ4yLMMAXjNjaQYa2WrrTBXkaD+M9JIUZLtNWM=
on:
tags: true