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