forked from codingjoe/django-stdimage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
36 lines (36 loc) · 793 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
language: python
dist: xenial
cache: pip
python:
- '3.6'
- '3.7'
env:
matrix:
- DJANGO=111
- DJANGO=22
- DJANGO=master
matrix:
fast_finish: true
allow_failures:
- env: DJANGO=master
install:
- pip install --upgrade pip tox codecov
before_script:
- |
if [[ -z $TOXENV ]]; then
export TOXENV=py$(echo $TRAVIS_PYTHON_VERSION | sed -e 's/\.//g')-dj$DJANGO
fi
- echo $TOXENV
script:
- tox -e $TOXENV
after_success:
- codecov
deploy:
provider: pypi
user: codingjoe
password:
secure: dnmVaqnmG6mSrmI9q6nL2l0aGkX56+WAsqdT/J1O2hBpFBOE4NiqH+2ryIqZj1wrvHZ72/jjyT5Xi1MWYxwDtDfkBIp+juHUGPbFfGy3J7EVgGkmf38E5SC2Q9IHc3A1iHxTZAX3o816TP3bt5vwGll3UzSMiaaPRQ/AiK4+og4=
on:
tags: true
distributions: compile_translations sdist bdist_wheel
repo: codingjoe/django-stdimage