forked from oetiker/rrdtool-1.x
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (27 loc) · 906 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
language: c
perl:
- "5.20"
- "5.18"
- "5.16"
- "5.14"
- "5.8"
install:
- sudo apt-get update || true
- sudo apt-get install autopoint libdbi-dev tcl-dev lua5.1 liblua5.1-0-dev valgrind dc
- sudo pip install cpp-coveralls --use-mirrors
before_script:
- ./bootstrap
script:
- ./configure --prefix=/opt/rrdtool-master --disable-ruby
# - make CFLAGS+="-g -O0 -fprofile-arcs -ftest-coverage" LDFLAGS+="-fprofile-arcs --coverage"
- make
- make check
- make check TESTS_STYLE="rrdcached"
- make check TESTS_STYLE="valgrind-logfile"
- sudo make install
- cd bindings/perl-shared && make test
- /opt/rrdtool-master/bin/rrdtool
- /opt/rrdtool-master/share/rrdtool/examples/4charts.pl
# after_success:
# - ( cd src ; find -name '*.c' | xargs -n 1 gcov -a .libs ; find -name '*.c' | xargs -n 1 )
# - coveralls --no-gcov --encoding latin1 --exclude tests --exclude bindings