Skip to content
Snippets Groups Projects
Commit e20e2fd4 authored by inso's avatar inso
Browse files

Try to build libsodium on docker

parent 2adb4e8a
No related branches found
No related tags found
No related merge requests found
sudo: false
language: python
python:
- "3.4"
# command to install dependencies
before_install:
- bash ci/libsodium.sh
install:
- pip install -r requirements.txt
# command to run tests
......
#!/bin/bash
set -ev
git clone git://github.com/jedisct1/libsodium.git
cd libsodium
git checkout tags/1.0.3
./autogen.sh
if [[ $TRAVIS_OS_UNAME = 'Darwin' ]]; then
export CFLAGS="-Os -m32 -arch i386";
export LDFLAGS="-m32 -arch i386";
fi
./configure
make && make install
if [[ $TRAVIS_OS_UNAME = 'Linux' ]]; then ldconfig; fi
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment