-
Notifications
You must be signed in to change notification settings - Fork 85
Expand file tree
/
Copy path.travis_setup.sh
More file actions
executable file
·28 lines (27 loc) · 863 Bytes
/
.travis_setup.sh
File metadata and controls
executable file
·28 lines (27 loc) · 863 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/bash
if [[ "$TRAVIS_OS_NAME" = "osx" ]]; then
brew upgrade
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 install grep
brew install gawk
brew link --force gettext
elif [[ "$TRAVIS_OS_NAME" = "linux" ]]; then
# Install Libmicrohttpd from source
sudo apt-get -y install wget
wget https://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