You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.2 KiB
45 lines
1.2 KiB
sudo: required
|
|
language: c
|
|
dist : trusty
|
|
compiler: clang
|
|
env:
|
|
global:
|
|
- LIBSODIUM_VER=1.0.12
|
|
- MBEDTLS_VER=2.4.0
|
|
before_install:
|
|
- wget https://github.com/jedisct1/libsodium/releases/download/$LIBSODIUM_VER/libsodium-$LIBSODIUM_VER.tar.gz
|
|
- tar xvf libsodium-$LIBSODIUM_VER.tar.gz
|
|
- pushd libsodium-$LIBSODIUM_VER
|
|
- ./configure --prefix=/usr && make
|
|
- sudo make install
|
|
- popd
|
|
- wget https://tls.mbed.org/download/mbedtls-$MBEDTLS_VER-gpl.tgz
|
|
- tar xvf mbedtls-$MBEDTLS_VER-gpl.tgz
|
|
- pushd mbedtls-$MBEDTLS_VER
|
|
- make SHARED=1
|
|
- sudo make install
|
|
- popd
|
|
# Load cached docker images
|
|
- if [[ -d $HOME/docker ]]; then ls $HOME/docker/*.tar.gz | xargs -I {file} sh -c "zcat {file} | docker load"; fi
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- george-edison55-precise-backports # cmake 3.2.3 / doxygen 1.8.3
|
|
packages:
|
|
- libudns-dev
|
|
- libev-dev
|
|
- asciidoc
|
|
- xmlto
|
|
script:
|
|
- ./autogen.sh
|
|
- ./configure && make
|
|
- cd build && cmake ../ && make
|
|
branches:
|
|
only:
|
|
- master
|
|
notifications:
|
|
recipients:
|
|
- max.c.lv@gmail.com
|
|
email:
|
|
on_success: change
|
|
on_failure: always
|