Skip to content

Commit

Permalink
Re-enable integration tests in Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
benrubson committed Aug 8, 2017
1 parent 1eb9360 commit 01ffc39
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ before_script:
- ./ci/setup.sh

script:
- ./ci/check.sh
- ./ci/build.sh

addons:
apt:
Expand Down
10 changes: 7 additions & 3 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ Compiling EncFS

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
cd build
Expand All @@ -29,11 +33,11 @@ encrypted filesystem and run tests on it:
make integration

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

. 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:

cmake .. -DCMAKE_INSTALL_PREFIX=/opt/local
Expand Down
5 changes: 5 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,9 @@ then
fi

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".'

1 change: 1 addition & 0 deletions ci/check.sh → ci/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ cd build
cmake .. ${CFG}
make -j2
make test
make integration

cd ..

0 comments on commit 01ffc39

Please sign in to comment.