mirror of
https://github.com/vgough/encfs.git
synced 2024-11-28 10:54:15 +01:00
8a2c03d8a9
gcc is default compiler on most distributions, we should also test with it. build.sh exists and should be tested as well, so why not use it in Travis. test.sh outputs much more details than "make check", so run it as well. Additionally, make build.sh and test.sh work when called from other directories.
16 lines
182 B
Bash
Executable File
16 lines
182 B
Bash
Executable File
#!/bin/bash -eu
|
|
|
|
# Make sure we are in the directory this script is in.
|
|
cd "$(dirname "$0")"
|
|
|
|
if [[ ! -d build ]]
|
|
then
|
|
mkdir build
|
|
cd build
|
|
cmake ..
|
|
cd ..
|
|
fi
|
|
|
|
make -j2 -C build
|
|
|