Commit d4312a1d authored by donghuixu's avatar donghuixu

fix syntax error in build_in_travis_ci.sh

parent af913b66
...@@ -9,7 +9,7 @@ compiler: ...@@ -9,7 +9,7 @@ compiler:
env: env:
- PURPOSE=compile - PURPOSE=compile
- PURPOSE=unittest - PURPOSE=unittest
- PURPOSE=bazel_build - PURPOSE=compile-with-bazel
before_install: before_install:
- wget --no-clobber https://github.com/bazelbuild/bazel/releases/download/0.8.1/bazel_0.8.1-linux-x86_64.deb - 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 ...@@ -20,7 +20,7 @@ if [ "$PURPOSE" = "compile" ]; then
make -j4 && sh tools/make_all_examples make -j4 && sh tools/make_all_examples
elif [ "$PURPOSE" = "unittest" ]; then elif [ "$PURPOSE" = "unittest" ]; then
cd test && sh ./run_tests.sh cd test && sh ./run_tests.sh
elif [ "$PURPOSE" = "bazel_build"]; then elif [ "$PURPOSE" = "compile-with-bazel" ]; then
bazel build --copt -DHAVE_ZLIB=1 //... bazel build --copt -DHAVE_ZLIB=1 //...
else else
echo "Unknown purpose=\"$PURPOSE\"" 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