Fixed bash syntax errors.

This commit is contained in:
Omer Katz 2014-05-21 12:00:18 +03:00
parent 1c8c63e0a5
commit 86cdf3800e

View file

@ -15,15 +15,15 @@ install:
- sudo apt-get install -qq automake pkg-config build-essential libtool automake autoconf m4 gnulib - sudo apt-get install -qq automake pkg-config build-essential libtool automake autoconf m4 gnulib
- sudo apt-get install -qq check libpcre3 libpcre3-dev libjemalloc-dev libjemalloc1 - sudo apt-get install -qq check libpcre3 libpcre3-dev libjemalloc-dev libjemalloc1
- sudo apt-get install -qq graphviz-dev graphviz - sudo apt-get install -qq graphviz-dev graphviz
- if [ x$COVERALLS == xyes ]; then sudo pip install cpp-coveralls; fi - if [ "x$COVERALLS" == xyes ]; then sudo pip install cpp-coveralls; fi
- if [x$VALGRIND == xyes ]; then sudo apt-get install valgrind; fi - if[ "x$VALGRIND" == xyes ]; then sudo apt-get install valgrind; fi
script: script:
- ./autogen.sh - ./autogen.sh
- ./configure $CONFIGURE_OPTION - ./configure $CONFIGURE_OPTION
- make - make
- if [x$VALGRIND == xyes ]; make check 2>&1 > /dev/null; else make check; fi - if [ "x$VALGRIND" == xyes ]; then make check > /dev/null 2>&1; else make check; fi
- if [x$VALGRIND == xyes ]; then valgrind ./tests/.libs/* -v --trace-children=yes --show-leak-kinds=full --leak-check=full; fi - if [ "x$VALGRIND" == xyes ]; then valgrind ./tests/.libs/* -v --trace-children=yes --show-leak-kinds=full --leak-check=full; fi
after_success: after_success:
- if [ x$COVERALLS == xyes ]; then coveralls ; fi - if [ x$COVERALLS == xyes ]; then coveralls ; fi