forked from MethodicalAcceleratorDesign/MAD-X
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (31 loc) · 886 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
35
36
37
38
39
40
language: cpp
compiler:
- gcc
install:
- pip install --user cpp-coveralls
- make madx-linux64-gnu COVERAGE=yes
- make numdiff-linux64-gnu
script:
- make tests &&
NUM_FAILED=$(grep -oP '(?<= FAILED ).*' tests/tests-summary.txt) &&
[[ $NUM_FAILED -eq 0 ]]
- (cd doc/latexuguide && ./makelatexdoc) ||
(cat doc/latexuguide/makelatexdoc.log && false)
after_success:
- coveralls --include src -x .c -x .cpp
addons:
apt:
packages:
- gfortran
- gnuplot
- texlive-latex-base
- texlive-latex-extra
- texlive-fonts-recommended
- latex-xcolor
git:
# Limit cloning depth to reduce download bandwidth:
# Please note that if you use a depth of 1 and have a queue of jobs, Travis
# CI won’t build commits that are in the queue when you push a new commit.
depth: 1
# Don't clone the `examples/` submodule:
submodules: false