Files
pcp/.travis.yml

74 lines
1.9 KiB
YAML
Raw Normal View History

2015-04-13 18:38:00 +02:00
language: c
os:
- linux
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
- ./configure --prefix=/usr
2015-04-13 19:37:36 +02:00
- make
- sudo 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
- cd Config-General-2.56
- perl Makefile.PL && make
- sudo make install
- cd ..
- 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
- cd Tie-IxHash-1.23
- perl Makefile.PL && make
- sudo make install
- cd ..
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
- cd YAML-1.14
- perl Makefile.PL && make
- sudo make install
- cd ..
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-04-19 17:23:03 +02:00
- sudo apt-get update -qq
- sudo apt-get install python-pip texinfo
2015-04-19 17:16:11 +02: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-04-13 18:38:00 +02:00
compiler:
2015-04-14 20:51:03 +02:00
- clang
2015-04-13 18:38:00 +02:00
- gcc
2015-04-13 19:07:11 +02:00
script:
- ./configure --enable-python-binding
- 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