mirror of
https://github.com/vgough/encfs.git
synced 2024-11-25 01:13:12 +01:00
23 lines
263 B
Bash
Executable File
23 lines
263 B
Bash
Executable File
#!/bin/bash -eu
|
|
|
|
cmake --version
|
|
|
|
CFG=""
|
|
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
|
|
CFG="-DENABLE_NLS=OFF -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl"
|
|
fi
|
|
|
|
if [[ ! -d build ]]
|
|
then
|
|
mkdir build
|
|
fi
|
|
|
|
cd build
|
|
cmake .. ${CFG}
|
|
make -j2
|
|
make test
|
|
make integration
|
|
|
|
cd ..
|
|
|