Files
wget2/.travis_setup.sh
Didik Setiawan 204bb3d33a Initial system preparation for Libmicrohttpd integration
* .gitlab-ci.yml: Add Libmicrohttpd package for CI testing
  using Debian/gcc, Fedora/clang and MinGW64
* .travis.sh: Add Libmicrohttpd package for OSX/clang
* .travis_setup.sh: Add Libmicrohttpd package for Debian/gcc
  and clang
* README.md: Add info which mentioning Libmicrohttpd as
  optional requirement
* configure.ac: Check for Libmicrohttpd availability
2017-09-08 14:03:47 +00:00

27 lines
823 B
Bash
Executable File

#!/bin/bash
if [[ "$TRAVIS_OS_NAME" = "osx" ]]; then
brew update
brew install gnutls
brew install nettle
brew outdated autoconf || brew upgrade autoconf
brew outdated automake || brew upgrade automake
brew outdated libtool || brew upgrade libtool
brew install doxygen
brew outdated gettext || brew upgrade gettext
brew install flex
brew install libidn
brew install xz
brew install lbzip2
brew install lzip
brew install libgcrypt
brew link --force gettext
elif [[ "$TRAVIS_OS_NAME" = "linux" ]]; then
# Install Libmicrohttpd from source
sudo apt-get -y install wget
wget http://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-0.9.55.tar.gz
tar zxf libmicrohttpd-0.9.55.tar.gz && cd libmicrohttpd-0.9.55/
./configure --prefix=/usr && make -j$(nproc) && sudo make install
pip install --user cpp-coveralls
fi