aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/ci
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-05-19 10:44:48 -0400
committerJack Lloyd <[email protected]>2017-05-19 10:44:48 -0400
commit7873092f84bf61ac932330e0a17449c17897b91b (patch)
treeafa5e6d8f5c9eb74712691a8e3b0fb8457b9049a /src/scripts/ci
parent98e5b30922ada39516a77cd8b7ff87b281ba521e (diff)
parentf53f4db7a231e3d7722b7c9dccf15c777706d1c8 (diff)
Merge GH #359 Add botan cli encryption tool
Diffstat (limited to 'src/scripts/ci')
-rwxr-xr-xsrc/scripts/ci/travis/build.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/scripts/ci/travis/build.sh b/src/scripts/ci/travis/build.sh
index 71d33d1bb..36517738b 100755
--- a/src/scripts/ci/travis/build.sh
+++ b/src/scripts/ci/travis/build.sh
@@ -6,6 +6,7 @@ MAKE_PREFIX=()
TEST_PREFIX=()
TEST_EXE=./botan-test
TEST_FLAGS=()
+CLI_EXE=./botan
CFG_FLAGS=(--prefix=/tmp/botan-installation --cc=$CC --os=$TRAVIS_OS_NAME)
CC_BIN=$CXX
@@ -179,6 +180,12 @@ else
time "${TEST_CMD[@]}"
fi
+if [ "$BUILD_MODE" = "static" ] || [ "$BUILD_MODE" = "shared" ]
+then
+ echo "Running cli tests ..."
+ ./src/scripts/cli_tests.py "$CLI_EXE"
+fi
+
# Run Python tests (need shared libs)
if [ "$BUILD_MODE" = "shared" ] || [ "$BUILD_MODE" = "coverage" ];
then