diff options
Diffstat (limited to 'test/scenario_test/ci-scripts')
-rw-r--r-- | test/scenario_test/ci-scripts/travis-build-script.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/scenario_test/ci-scripts/travis-build-script.sh b/test/scenario_test/ci-scripts/travis-build-script.sh index 87fa9a7b..75401f3d 100644 --- a/test/scenario_test/ci-scripts/travis-build-script.sh +++ b/test/scenario_test/ci-scripts/travis-build-script.sh @@ -7,8 +7,7 @@ export GOBGP=`pwd` if [ "$SCENARIO" != "true" ]; then echo "execute unit test." go version - go test -v ./... - [ "$?" != 0 ] && exit "$?" + go test -v ./... || exit "$?" python $GOBGP/test/scenario_test/ci-scripts/build_embeded_go.py $GOBGP/docs/sources/lib.md exit $? fi |