blob: eec752e2db52dba2bad1c8bec5f6654ff6fc0cc8 (
plain)
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
|
language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
- "pypy"
- "pypy3"
matrix:
# pypy3 latest version is not playing nice.
allow_failures:
- python: "pypy3"
before_install:
# Travis version of Pypy is old and is causing some jobs to fail, so
# we should build this ourselves
- "export PYENV_ROOT=$HOME/.pyenv"
- |
if [ "$TRAVIS_PYTHON_VERSION" = "pypy" ]; then
export PYPY_VERSION="5.4.1"
source ./ci_tools/pypy_upgrade.sh
fi
# Install codecov
- if [[ $TRAVIS_PYTHON_VERSION == '3.2' ]]; then pip install coverage==3.7.1; fi
- pip install codecov
install:
- pip install six
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2; fi
- ./ci_tools/retry.sh python updatezinfo.py
cache:
directories:
- $HOME/.pyenv
- $HOME/.cache/pip
script:
- coverage run --omit=setup.py,dateutil/test/* setup.py test
after_success:
- codecov
sudo: false
|