aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: df75f381b549c4b6f235cf89797fbdaf7b8f79f1 (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
language: python
cache: pip
python:
  - "2.7"
  - "3.2"
  - "3.3"
  - "3.4"
  - "3.5"
  - "3.6"
  - "nightly"
  - "pypy-5.4"
  - "pypy3"

matrix:
  allow_failures:
    - python: "nightly"

before_install:
  # Install codecov
  - if [[ $TRAVIS_PYTHON_VERSION == '3.2' ]]; then pip install coverage==3.7.1; fi
  - if [[ $TRAVIS_PYTHON_VERSION < '3.0' ]]; then pip install mock; fi
  - pip install codecov
  - pip install freezegun

install:
  - pip install six
  - ./ci_tools/retry.sh python updatezinfo.py

script:
  - coverage run --omit=setup.py,dateutil/test/* setup.py test

after_success:
  - codecov

sudo: false