Skip to content

Commit

Permalink
fix syntax error in build_in_travis_ci.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
donghuixu committed Dec 16, 2017
1 parent af913b6 commit d4312a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion build_in_travis_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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\""
Expand Down

0 comments on commit d4312a1

Please sign in to comment.