forked from dmitrii1111/aldryn-common
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
44 lines (38 loc) · 1.03 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
language: python
sudo: false
matrix:
include:
# Django 1.11
- python: 2.7
env: DJANGO='dj111'
- python: 3.4
env: DJANGO='dj111'
- python: 3.5
env: DJANGO='dj111'
- python: 3.6
env: DJANGO='dj111'
# Django 2.0
- python: 3.4
env: DJANGO='dj20'
- python: 3.5
env: DJANGO='dj20'
- python: 3.6
env: DJANGO='dj20'
# Django 2.1
- python: 3.5
env: DJANGO='dj21'
- python: 3.6
env: DJANGO='dj21'
install:
- pip install tox coveralls
- "if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then export PY_VER=py27; fi"
- "if [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then export PY_VER=py34; fi"
- "if [[ $TRAVIS_PYTHON_VERSION == '3.5' ]]; then export PY_VER=py35; fi"
- "if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then export PY_VER=py36; fi"
- "if [[ ${DJANGO}z != 'z' ]]; then export TOX_ENV=$PY_VER-$DJANGO; fi"
script:
- tox -e $TOX_ENV
after_success:
- coveralls
notifications:
webhooks: http://addons.us-iad-rs.aldryn.io/en/travis-endpoint/