]> git.ipfire.org Git - thirdparty/pdns.git/blob - .travis.yml
Merge pull request #14066 from PowerDNS/dependabot/pip/regression-tests.ixfrdist...
[thirdparty/pdns.git] / .travis.yml
1 sudo: required
2 dist: trusty
3 language: cpp
4 compiler:
5 - gcc
6 - clang
7 env:
8 - PDNS_BUILD_PRODUCT=auth
9 - PDNS_BUILD_PRODUCT=recursor
10 - PDNS_BUILD_PRODUCT=dnsdist
11 - PDNS_BUILD_PRODUCT=ixfrdist
12
13 cache:
14 - pip
15
16 before_script:
17 - git describe --always --dirty=+
18 - sudo rm -f /etc/apt/sources.list.d/*.list
19
20 ### setup travis environment ###
21 - sudo sysctl net.ipv6.conf.lo.disable_ipv6=0
22 - export POSIXLY_CORRECT=1
23 - export CFLAGS=-O0
24 - export CXXFLAGS=-O0
25 - export OPTFLAGS=-O0
26 - sudo apt-get -qq update
27 # you can remove this when updating dist to something newer than trusty
28 - pyenv global 2.7
29 # needed for virtualenv to use the pyenv python
30 - pip install virtualenv
31
32 script:
33 - ./build-scripts/travis.sh
34
35 notifications:
36 irc:
37 channels:
38 - secure: "RDw5WKYf/gS3JnfIdkK51U4K2Xg/WNMn1uB/5AZbHbcqZJ/ZnbILCu0eBC83blQr+UuaQG7/sUFhWbtwoivD2I/4wOQGWIysBEZ8bSoySPSc4u0YU45aPjN+Ohrrp9qw7Smts3tYHbrOqfLfZ39L8lJq06vuMoBp6eHVkSBT7AY="
39 template:
40 - "%{author} @ %{repository} / %{branch} - Build:#%{build_number} : %{message} - Changes: %{compare_url} - Build details: %{build_url}"
41 use_notice: true
42 skip_join: true