forked from sni/mod_gearman
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (40 loc) · 1.69 KB
/
.travis.yml
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
language: c
compiler:
- gcc
before_install:
- sudo apt-get update
- sudo apt-get install apt-transport-https
- sudo sh -c "echo 'deb https://labs.consol.de/repo/stable/ubuntu precise main' >> /etc/apt/sources.list"
- gpg --keyserver keys.gnupg.net --recv-keys F8C1CA08A57B9ED7
- gpg --armor --export F8C1CA08A57B9ED7 | sudo apt-key add -
- sudo apt-get update
- sudo apt-get install help2man nagios-plugins-basic autoconf automake libltdl-dev libtool libncurses5-dev devscripts pkg-config libperl-dev build-essential devscripts cppcheck valgrind
- sudo apt-get install gearman-job-server libgearman-dev naemon-dev
- git config --global user.email "travis@localhost"
- git config --global user.name "Travis Testuser"
install:
- ./autogen.sh
script:
- ./configure --enable-debug || exit 1
- make || exit 1
- make install DESTDIR=$(pwd)/_install || exit 1
- make fulltest || exit 1
- make clean || exit 1
- ./configure --enable-embedded-perl --enable-debug || exit 1
- make || exit 1
- make test || exit 1
notifications:
email:
- sven@nierlein.de
#env:
# global:
# - secure: "LGrZlR/I3OuwuHkJT4X/Ng8kfOLyDr43a22GOIsYzANdyJmICHqlT08er+wjpboFP0jO5Peyn8XpKCSEZu62MnR37La3vtcvzYcTUUiwNIN7ULPOgfv3AsstKsgSy4Z1P0gs7N3kxzrXUpZrmdY3yt+kls+iM92Z8+CKg0ki/Q0="
#addons:
# coverity_scan:
# project:
# name: "sni/mod_gearman"
# description: "Distributed Monitoring with Naemon"
# notification_email: sven@nierlein.org
# build_command_prepend: ./autogen.sh && ./configure
# build_command: make
# branch_pattern: travistest