forked from MindscapeHQ/raygun4py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
27 lines (21 loc) · 877 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
sudo: false
language: python
cache: pip
python: ["2.6", "2.7", "3.2", "3.3", "3.4", "3.5", "pypy"]
install:
- pip install jsonpickle
- pip install nose
- pip install coveralls
- pip install unittest2
- pip install mock
- pip install 'django==1.8.8'
script:
- pip install jsonpickle
# Django 1.8 requires Python 2.7+
- if [[ $TRAVIS_PYTHON_VERSION != 2.6 && $TRAVIS_PYTHON_VERSION == 2* ]]; then coverage run -m unittest2 discover python2; fi
# Coverage/Coveralls has dropped support for Python 3.2
- if [[ $TRAVIS_PYTHON_VERSION != 3.2 && $TRAVIS_PYTHON_VERSION == 3* ]]; then coverage run -m unittest discover python3; fi
- if [[ $TRAVIS_PYTHON_VERSION == 'pypy' ]]; then coverage run -m unittest2 discover python2; fi
# - if [[ $TRAVIS_PYTHON_VERSION == 'pypy3' ]]; then coverage run -m unittest discover python3; fi
after_success:
coveralls