forked from mrocklin/multipledispatch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (30 loc) · 876 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
language: python
python:
- "pypy"
- "pypy3"
matrix:
include:
- { python: '2.7', env: }
- { arch: arm64, python: '2.7' }
- { python: '3.4', env: }
- { python: '3.5', env: }
- { python: '3.6', env: }
- { python: '3.7', env: }
- { python: '3.8', env: }
- { arch: arm64, python: '3.8' }
install:
- pip install --upgrade pip
- pip install coverage
- pip install --upgrade pytest pytest-benchmark
script:
- |
if [[ $(bc <<< "$TRAVIS_PYTHON_VERSION >= 3.3") -eq 1 ]]; then
py.test --doctest-modules multipledispatch
else
py.test --doctest-modules --ignore=multipledispatch/tests/test_dispatcher_3only.py multipledispatch
fi
after_success:
- |
if [[ $TRAVIS_PYTHON_VERSION != 'pypy' ]]; then pip install coveralls; coveralls ; fi
notifications:
email: false