forked from sagemath/cypari2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
58 lines (57 loc) · 1.5 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
dist: xenial
sudo: required
language: python
notifications:
slack:
on_success: never
on_failure : never
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "3.7"
- "3.8"
env:
- PARI_VERSION=pari-2.9.4
URLDIR=OLD/2.9
- PARI_VERSION=pari-2.9.5
URLDIR=OLD/2.9
- PARI_VERSION=pari-2.11.0
URLDIR=OLD/2.11
- PARI_VERSION=pari-2.11.1
URLDIR=OLD/2.11
- PARI_VERSION=pari-2.11.2
URLDIR=OLD/2.11
- PARI_VERSION=pari-2.11.3
URLDIR=OLD/2.11
- PARI_VERSION=pari-2.11.4
URLDIR=OLD/2.11
- PARI_VERSION=pari-2.13.0
URLDIR=unix
- PARI_VERSION=pari-2.12.1.beta
URLDIR=unstable
- PARI_VERSION=snapshot
URLDIR=snapshots
before_install:
- export LC_ALL=C # Test that this doesn't break Unicode
- export PATH="/usr/lib/ccache:$PATH"
- ccache -M 256M && ccache -s
install:
- bash -x .travis-install-pari.sh
# CFLAGS:
# -O1 to speed up compilation (compared to -O2 or -O3)
# -fno-strict-aliasing because that is the default in Python
# -fno-tree-copyrename works around http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56982
# -Wall -Werror to check for potential bugs
# -Wno-unused to remove false positive errors
# -Wno-strict-prototypes works around https://github.com/cython/cython/pull/2076
- env CFLAGS="-O1 -fno-strict-aliasing -fno-tree-copyrename -Wall -Wno-unused -Wno-strict-prototypes -Werror" pip install --verbose .
# command to run tests
script:
- make check
- pip install sphinx
- (cd docs && make html)
cache:
directories:
- $HOME/.ccache