Files
pcp/.travis.yml

77 lines
1.9 KiB
YAML
Raw Normal View History

2015-12-08 18:26:39 +01:00
sudo: false
2015-04-13 18:38:00 +02:00
language: c
os:
- linux
2015-12-08 18:26:39 +01:00
addons:
apt:
packages:
- python-pip
- texinfo
compiler:
- clang
- gcc
2015-04-13 18:38:00 +02:00
before_install:
2015-04-19 15:32:58 +02:00
# runtime dependency
2015-04-13 19:18:36 +02:00
- git clone https://github.com/jedisct1/libsodium
2015-04-13 19:07:11 +02:00
- cd libsodium
- ./autogen.sh
2015-12-08 18:26:39 +01:00
- ./configure --prefix=$HOME/usr
2015-04-13 19:37:36 +02:00
- make
2015-12-08 18:26:39 +01:00
- make install
2015-04-13 19:52:54 +02:00
- cd ..
2015-04-19 15:32:58 +02:00
#
# unittest dependencies, perl modules
- wget http://search.cpan.org/CPAN/authors/id/T/TL/TLINDEN/Config-General-2.56.tar.gz
- tar xvzf Config-General-2.56.tar.gz
2015-12-08 18:26:39 +01:00
- mkdir -p tests/lib/Config/General
- cp Config-General-2.56/General.pm tests/lib/Config/
- cp Config-General-2.56/General/*.pm tests/lib/Config/General/
- wget http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/Tie-IxHash-1.23.tar.gz
- tar xvzf Tie-IxHash-1.23.tar.gz
2015-12-08 18:26:39 +01:00
- mkdir -p tests/lib/Tie
- cp Tie-IxHash-1.23/Tie/IxHash.pm tests/lib/Tie/
2015-04-17 09:51:31 +02:00
- wget http://search.cpan.org/CPAN/authors/id/I/IN/INGY/YAML-1.14.tar.gz
- tar xvfz YAML-1.14.tar.gz
2015-12-08 18:26:39 +01:00
- cp -r YAML-1.14/lib/* tests/lib/
2015-04-19 15:32:58 +02:00
#
# for debugging - just in case, uncomment this and the next if needed
#- wget http://valgrind.org/downloads/valgrind-3.10.1.tar.bz2
#- tar xvjf valgrind-3.10.1.tar.bz2
#- cd valgrind-3.10.1
#- ./configure --prefix=/usr
#- make
#- sudo make install
#- cd ..
#
# valgrind runtime dependency
#- sudo apt-get update
#- sudo apt-get install libc6-dbg
#
# python bindings runtime dependencies
2015-12-08 18:26:39 +01:00
#- git clone https://github.com/atgreen/libffi
#- cd libffi
#- ./autogen.sh
#- ./configure --prefix=/usr
#- make
#- sudo make install
#- cd ..
#- sudo pip install cffi
2015-04-19 15:32:58 +02:00
#
# finally prepare autoconf stuff
- ./autogen.sh
2015-12-08 18:26:39 +01:00
2015-04-13 19:07:11 +02:00
script:
2015-12-08 18:26:39 +01:00
#- ./configure --enable-python-binding
- ./configure
- make
2015-04-14 17:45:00 +02:00
- make check
- make test
2015-04-19 18:36:56 +02:00
#
# upload last fuzzy testfiles in case one of them failed
- cd tests
- cat testfuzzP.pub | openssl base64 | curl -F 'sprunge=<-' http://sprunge.us
- cat testfuzzS.sec | openssl base64 | curl -F 'sprunge=<-' http://sprunge.us