forked from mpmath/mpmath
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
58 lines (58 loc) · 1.2 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
language: python
matrix:
include:
- arch: arm64
python: 2.7
- arch: amd64
python: 2.7
- arch: arm64
python: 3.5
- arch: amd64
python: 3.5
- arch: arm64
python: 3.7
- arch: amd64
python: 3.7
- arch: arm64
python: 3.8
- arch: amd64
python: 3.8
- arch: amd64
python: pypy
- arch: amd64
python: pypy3
- arch: arm64
python: 2.7
env: COVERAGE='on'
- arch: amd64
python: 2.7
env: COVERAGE='on'
- arch: arm64
python: 3.6
env: COVERAGE='on'
- arch: amd64
python: 3.6
env: COVERAGE='on'
- arch: arm64
python: 3.4
before_install:
- pip install --upgrade --force-reinstall setuptools
- arch: amd64
python: 3.4
before_install:
- pip install --upgrade --force-reinstall setuptools
install:
- pip install -U -e .[develop]
script:
# Guard against invalid escapes in strings, like '\s'.
- python -We:invalid -m compileall -f mpmath -q
- pycodestyle
- |
if [ -n "${COVERAGE}" ]; then
py.test --cov mpmath
else
py.test
fi
after_success: test -n "${COVERAGE}" && codecov
notifications:
email: false