File: .travis.yml

package info (click to toggle)
fstrm 0.4.0-1
  • links: PTS
  • area: main
  • in suites: buster
  • size: 1,140 kB
  • sloc: ansic: 13,187; makefile: 181; xml: 181; sh: 127
file content (32 lines) | stat: -rw-r--r-- 966 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
language: c

os:
  - linux
  - osx

matrix:
  include:
    - os: linux
      dist: trusty
      sudo: required

before_install:
  # Linux
  - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get update -qq; fi

install:
  # Linux
  - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get -qq install libevent-dev valgrind lcov; fi
  - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo pip install cpp-coveralls; fi

script:
  - ./autogen.sh
  - ./configure
  - make
  - make distcheck VERBOSE=1

  - if [ "$TRAVIS_OS_NAME" == "linux" ]; then make clean; ./configure --enable-valgrind-tests && make distcheck VERBOSE=1 DISTCHECK_CONFIGURE_FLAGS="--enable-valgrind-tests"; fi
  - if [ "$TRAVIS_OS_NAME" == "linux" ]; then make clean; ./configure --enable-code-coverage CFLAGS="" && make && make check; fi

after_success:
  - if [ "$TRAVIS_OS_NAME" == "linux" ]; then cpp-coveralls --build-root . --exclude libmy/ --exclude src/ --exclude t/ --exclude /usr/include; fi