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

11 years ago
7 years ago
7 years ago
8 years ago
8 years ago
8 years ago
11 years ago
  1. sudo: required
  2. language: c
  3. dist : trusty
  4. compiler: clang
  5. env:
  6. global:
  7. - LIBSODIUM_VER=1.0.12
  8. - MBEDTLS_VER=2.4.0
  9. before_install:
  10. - wget https://github.com/jedisct1/libsodium/releases/download/$LIBSODIUM_VER/libsodium-$LIBSODIUM_VER.tar.gz
  11. - tar xvf libsodium-$LIBSODIUM_VER.tar.gz
  12. - pushd libsodium-$LIBSODIUM_VER
  13. - ./configure --prefix=/usr && make
  14. - sudo make install
  15. - popd
  16. - wget https://tls.mbed.org/download/mbedtls-$MBEDTLS_VER-gpl.tgz
  17. - tar xvf mbedtls-$MBEDTLS_VER-gpl.tgz
  18. - pushd mbedtls-$MBEDTLS_VER
  19. - make SHARED=1
  20. - sudo make install
  21. - popd
  22. # Load cached docker images
  23. - if [[ -d $HOME/docker ]]; then ls $HOME/docker/*.tar.gz | xargs -I {file} sh -c "zcat {file} | docker load"; fi
  24. addons:
  25. apt:
  26. sources:
  27. - george-edison55-precise-backports # cmake 3.2.3 / doxygen 1.8.3
  28. packages:
  29. - libudns-dev
  30. - libev-dev
  31. - asciidoc
  32. - xmlto
  33. script:
  34. - ./autogen.sh
  35. - ./configure && make
  36. - cd build && cmake ../ && make
  37. branches:
  38. only:
  39. - master
  40. notifications:
  41. recipients:
  42. - max.c.lv@gmail.com
  43. email:
  44. on_success: change
  45. on_failure: always