forked from igraph/igraph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
89 lines (80 loc) · 1.77 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
language: c
dist: xenial
os: linux
env:
global:
- MAKEFLAGS="-j 2"
git:
depth: 200 # to make sure we find the latest tag when building. Increase if not enough.
addons:
apt:
packages:
- flex
- bison
- docbook2x
- xmlto
- texinfo
- source-highlight
- libxml2-utils
- xsltproc
- fop
- libgmp-dev
- libglpk-dev
- libarpack2-dev
- libblas-dev
- liblapack-dev
homebrew:
packages:
- flex
- bison
- gmp
- glpk
before_install:
- git fetch --unshallow # to make sure that we can fetch the latest tag
script:
- make check
after_failure:
- find tests/testsuite.dir -name testsuite.log -exec cat \{\} \;
jobs:
include:
- name: "Linux"
os: linux
install:
- ./bootstrap.sh
- ./configure --enable-verify-finally --with-external-glpk
- make
- name: "Linux external deps"
os: linux
dist: bionic
install:
- ./bootstrap.sh
- ./configure --enable-verify-finally --with-external-glpk --with-external-blas --with-external-lapack --with-external-arpack
- make
- name: "Linux x87"
os: linux
env:
- CFLAGS="-mfpmath=387" CXXFLAGS="-mfpmath=387"
install:
- ./bootstrap.sh
- ./configure --enable-verify-finally --with-external-glpk
- make
- name: "macOS"
os: osx
install:
- ./bootstrap.sh
- ./configure --enable-verify-finally --enable-asan --with-external-glpk
- make
- name: "Documentation"
language: shell
os: linux
install:
- ./bootstrap.sh
- ./configure
- cd doc
script:
- make html
- make pdf
notifications:
email:
on_success: change
on_failure: always