]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/blob - .travis.yml
Fix python bindings installation in case of empty DESTDIR
[thirdparty/rrdtool-1.x.git] / .travis.yml
1 # dist: trusty
2 dist: xenial
3
4 language: c
5
6 perl:
7 - "5.22"
8 - "5.20"
9 - "5.18"
10 - "5.16"
11 - "5.14"
12 - "5.8"
13
14 install:
15 - sudo apt-get update || true
16 - sudo apt-get install autopoint libdbi-dev libtool-bin tcl-dev lua5.1 liblua5.1-0-dev valgrind dc python-pip python-setuptools libpango1.0-dev ghostscript
17 - sudo pip install cpp-coveralls
18
19 before_script:
20 - ./bootstrap
21
22 script:
23 - ./configure --prefix=/opt/rrdtool-master --disable-ruby
24 # - make CFLAGS+="-g -O0 -fprofile-arcs -ftest-coverage" LDFLAGS+="-fprofile-arcs --coverage"
25 - make
26 - make check
27 - make check TESTS_STYLE="rrdcached"
28 # - make check TESTS_STYLE="valgrind-logfile"
29 # Disable the following, failing tests: rpn1 rpn2 xport1
30 # These tests are failing on Travis CI (currently Ubuntu xenial, 16.04LTS), when using valgrind-logfile
31 - make check TESTS_STYLE="valgrind-logfile" TESTS="modify1 modify2 modify3 modify4 modify5 tune1 tune2 graph1 rrdcreate dump-restore create-with-source-1 create-with-source-2 create-with-source-3 create-with-source-4 create-with-source-and-mapping-1 create-from-template-1 dcounter1 vformatter1 list1 pdp-calc1"
32 - podchecker doc/*.pod
33 - sudo make install
34 - cd bindings/perl-shared && make test
35 - cd ../python && sudo chown -R travis rrdtool.egg-info && python setup.py test
36 - /opt/rrdtool-master/bin/rrdtool
37 - /opt/rrdtool-master/share/rrdtool/examples/4charts.pl
38 - cd ../..
39 - make dist
40 - tar xf rrdtool-`cat VERSION`.tar.gz
41 - cd rrdtool-`cat VERSION`
42 - ./configure
43 - sudo make install
44 - cd /opt/rrdtool-`cat VERSION`
45 - ./bin/rrdtool
46
47 # after_success:
48 # - ( cd src ; find -name '*.c' | xargs -n 1 gcov -a .libs ; find -name '*.c' | xargs -n 1 )
49 # - coveralls --no-gcov --encoding latin1 --exclude tests --exclude bindings