From 9334256658a44ce6b12fb433e783f416d15c7ba7 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Thu, 23 Apr 2015 00:30:39 +0900 Subject: [PATCH 1/3] Add travis integration --- .travis.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..46f63da1 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,37 @@ +language: cpp +compiler: + - clang + - gcc +sudo: false +addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - g++-4.9 + - libstdc++-4.9-dev + - autoconf + - automake + - autotools-dev + - libtool + - pkg-config + - libgnutls-dev + - nettle-dev + - libgmp-dev + - libc-ares-dev + - libxml2-dev + - zlib1g-dev + - libsqlite3-dev + - libcppunit-dev +before_install: + - $CC --version + - if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi + - $CC --version +before_script: + - autoreconf -i + - automake + - autoconf + - ./configure +script: + - make + - make check From e210f57594c69d661620efb1cc7e90a13970e695 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Thu, 23 Apr 2015 00:40:44 +0900 Subject: [PATCH 2/3] travis: Add autopoint and use libssl-dev nettle-dev is not white listed yet, and libgcrypt is a bit old. libssl-dev is mostly up-to-date and usable. --- .travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 46f63da1..96f2b507 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,11 +13,10 @@ addons: - autoconf - automake - autotools-dev + - autopoint - libtool - pkg-config - - libgnutls-dev - - nettle-dev - - libgmp-dev + - libssl-dev - libc-ares-dev - libxml2-dev - zlib1g-dev @@ -34,4 +33,5 @@ before_script: - ./configure script: - make - - make check +# libcppunit-dev has not been white listed yet. +# - make check From 18c73f51a4198c988f83621a2cda20b6e70f81ae Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 30 May 2015 13:54:18 +0900 Subject: [PATCH 3/3] travis: Add libssh2 and run `make check` --- .travis.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 96f2b507..06f6aeda 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,6 +21,7 @@ addons: - libxml2-dev - zlib1g-dev - libsqlite3-dev + - libssh2-1-dev - libcppunit-dev before_install: - $CC --version @@ -32,6 +33,4 @@ before_script: - autoconf - ./configure script: - - make -# libcppunit-dev has not been white listed yet. -# - make check + - make check