File: .travis.yml

package info (click to toggle)
rrdtool 1.7.2-4.2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 6,060 kB
  • sloc: ansic: 38,129; sh: 6,352; perl: 1,235; cs: 652; makefile: 547; python: 139; ruby: 61; awk: 30
file content (45 lines) | stat: -rw-r--r-- 1,637 bytes parent folder | download | duplicates (3)
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
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 python-pip python-setuptools libpango1.0-dev ghostscript
  - sudo pip install cpp-coveralls

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"
# Disable the following, failing tests: rpn1 rpn2 create-with-source-4 vformatter1 xport1
# These tests are failing on Travis CI (currently gcc 4.8.4, Ubuntu 14.04.3), when using valgrind-logfile
  - make check TESTS_STYLE="valgrind-logfile" TESTS="modify1 modify2 modify3 modify4 modify5 tune1 tune2 rrdcreate dump-restore create-with-source-1 create-with-source-2 create-with-source-3 create-with-source-and-mapping-1 create-from-template-1 dcounter1 list1"
  - sudo make install
  - cd bindings/perl-shared && make test
  - cd ../python && python setup.py test
  - /opt/rrdtool-master/bin/rrdtool
  - /opt/rrdtool-master/share/rrdtool/examples/4charts.pl
  - cd ../..
  - make dist
  - tar xf rrdtool-`cat VERSION`.tar.gz
  - cd rrdtool-`cat VERSION`
  - ./configure
  - sudo make install
  - cd /opt/rrdtool-`cat VERSION`
  - ./bin/rrdtool  

# 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