Require core tests to pass in Travis (#969)

This commit is contained in:
Lee Bousfield 2018-07-14 13:21:17 -06:00 committed by GitHub
commit 4a3e68416c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 8 deletions

View file

@ -43,15 +43,9 @@ fi
popd
if [[ "$OSTYPE" == "darwin"* ]]; then
TRUE_CMD=gtrue
else
TRUE_CMD=true
fi
pushd load-tester
cargo build --release
popd
cp ./load-tester/target/release/raiblocks-load-tester ./build/load_test
./ci/test.sh ./build || ${TRUE_CMD}
./ci/test.sh ./build

View file

@ -54,7 +54,7 @@ run_tests() {
echo "Core Test return code: ${core_test_res}"
echo "QT Test return code: ${qt_test_res}"
echo "Load Test return code: ${load_test_res}"
return $((${core_test_res} + ${qt_test_res} + ${load_test_res}))
return ${core_test_res}
}
cd ${build_dir}