Merge pull request #377 from benrubson/build

Re-enable integration tests in Travis
This commit is contained in:
Valient Gough 2017-08-09 00:41:28 -04:00 committed by GitHub
commit 6fe24b671b
4 changed files with 14 additions and 4 deletions

View File

@ -20,7 +20,7 @@ before_script:
- ./ci/setup.sh - ./ci/setup.sh
script: script:
- ./ci/check.sh - ./ci/build.sh
addons: addons:
apt: apt:

View File

@ -10,7 +10,11 @@ Compiling EncFS
EncFS uses the CMake toolchain to create makefiles. EncFS uses the CMake toolchain to create makefiles.
Steps to build EncFS: Quickest way to build and test EncFS :
./build.sh
Or following are the detailed steps to build EncFS:
mkdir build mkdir build
cd build cd build
@ -29,11 +33,11 @@ encrypted filesystem and run tests on it:
make integration make integration
The compilation process creates two executables, encfs and encfsctl in The compilation process creates two executables, encfs and encfsctl in
the encfs directory. You can install to in a system directory via the encfs directory. You can install to in a system directory via:
make install make install
. If the default path (`/usr/local`) is not where you want things If the default path (`/usr/local`) is not where you want things
installed, then set the CMAKE_INSTALL_PREFIX option when running cmake. Eg: installed, then set the CMAKE_INSTALL_PREFIX option when running cmake. Eg:
cmake .. -DCMAKE_INSTALL_PREFIX=/opt/local cmake .. -DCMAKE_INSTALL_PREFIX=/opt/local

View File

@ -12,4 +12,9 @@ then
fi fi
make -j2 -C build make -j2 -C build
make test -C build
make integration -C build
echo
echo 'Everything looks good, you can install via "make install -C build".'

View File

@ -16,6 +16,7 @@ cd build
cmake .. ${CFG} cmake .. ${CFG}
make -j2 make -j2
make test make test
make integration
cd .. cd ..