Commit d4312a1d authored by donghuixu's avatar donghuixu

fix syntax error in build_in_travis_ci.sh

parent af913b66
......@@ -9,7 +9,7 @@ compiler:
env:
- PURPOSE=compile
- PURPOSE=unittest
- PURPOSE=bazel_build
- PURPOSE=compile-with-bazel
before_install:
- wget --no-clobber https://github.com/bazelbuild/bazel/releases/download/0.8.1/bazel_0.8.1-linux-x86_64.deb
......
......@@ -20,7 +20,7 @@ if [ "$PURPOSE" = "compile" ]; then
make -j4 && sh tools/make_all_examples
elif [ "$PURPOSE" = "unittest" ]; then
cd test && sh ./run_tests.sh
elif [ "$PURPOSE" = "bazel_build"]; then
elif [ "$PURPOSE" = "compile-with-bazel" ]; then
bazel build --copt -DHAVE_ZLIB=1 //...
else
echo "Unknown purpose=\"$PURPOSE\""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment