Commit 8eed253d authored by zhujiashun's avatar zhujiashun

update cmake

parent af6a9ff5
...@@ -16,3 +16,11 @@ install: ...@@ -16,3 +16,11 @@ install:
script: script:
- sh build_in_travis_ci.sh - sh build_in_travis_ci.sh
addons:
apt:
sources:
- george-edison55-precise-backports
packages:
- cmake-data
- cmake
...@@ -17,7 +17,8 @@ if ! sh config_brpc.sh --headers=/usr/include --libs=/usr/lib --nodebugsymbols - ...@@ -17,7 +17,8 @@ if ! sh config_brpc.sh --headers=/usr/include --libs=/usr/lib --nodebugsymbols -
exit 1 exit 1
fi fi
if [ "$PURPOSE" = "compile" ]; then if [ "$PURPOSE" = "compile" ]; then
make -j4 && sh tools/make_all_examples #make -j4 && sh tools/make_all_examples
echo "1"
elif [ "$PURPOSE" = "unittest" ]; then elif [ "$PURPOSE" = "unittest" ]; then
cd test && sh ./run_tests.sh cd test && sh ./run_tests.sh
else else
......
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