forked from libsemigroups/libsemigroups
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
103 lines (83 loc) · 2.34 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
language: cpp
dist: xenial
sudo: required
compiler:
- gcc
branches:
only:
- master
- /^stable-\d+\.\d+/
- /^v\d+\.\d+\.\d+$/
services:
- docker
matrix:
include:
- env: TEST_SUITE=lint
- env: TEST_SUITE=doc
addons:
apt:
packages:
- doxygen
- expect
- graphviz
- python3-pip
- env: TEST_SUITE=quick
- env: TEST_SUITE=external-fmt
addons:
apt:
packages:
- pkg-config
- env: TEST_SUITE=distcheck
- env: TEST_SUITE=hpcombi
- env: TEST_SUITE=debug
- env: TEST_SUITE=valgrind
addons:
apt:
packages:
- expect
- libc6-dbg
- libtool-bin
- env: TEST_SUITE=quick MATRIX_EVAL="CC=clang-5.0 && CXX=clang++-5.0"
compiler: clang
addons:
apt:
packages:
- clang-5.0
- os: osx
compiler: clang
env: TEST_SUITE=quick
osx_image: xcode8
- env: TEST_SUITE=gap
- env: TEST_SUITE=coverage
addons:
apt:
packages:
- lcov
# The next suite produces a too long log file, and so terminates.
# - env: TEST_SUITE=compile-warnings
# The next test suite does not work
# - os: osx
# compiler: gcc
# osx_image: xcode8
# env: TEST_SUITE=quick
# - CC=gcc-5
# - CXX=g++-5
# - LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/miniconda3/lib
# - CFLAGS="$CFLAGS -I$HOME/miniconda3/include -O2 -g"
# - LDFLAGS="$LDFLAGS -L$HOME/miniconda3/lib"
before_install:
- eval "${MATRIX_EVAL}"
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo add-apt-repository ppa:dns/gnu -y; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -q; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install --only-upgrade autoconf; fi
- if [[ "$TEST_SUITE" == "external-fmt" ]]; then
wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
chmod +x miniconda.sh;
./miniconda.sh -b;
export PATH=/home/travis/miniconda3/bin:$PATH;
export PKG_CONFIG_PATH=/home/travis/miniconda3/lib/pkgconfig
conda update --yes conda;
conda install -c conda-forge --yes fmt;
fi;
script:
- ci/travis-$TEST_SUITE.sh