fixup! travis CHANGE enable additional architectures
@@ -28,13 +28,13 @@ matrix:
before_install:
- test $TRAVIS_BRANCH != coverity -o "$CC" = "clang" || exit 0
- test $TRAVIS_BRANCH != devel-coverity -o "$CC" = "clang" || exit 0
- - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then bash deploy/travis/install-libs.sh; fi
- - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sh deploy/travis/install-libs-osx.sh; fi
+ - if [ "$TRAVIS_OS_NAME" = "linux" ]; then bash deploy/travis/install-libs.sh; fi
+ - if [ "$TRAVIS_OS_NAME" = "osx" ]; then sh deploy/travis/install-libs-osx.sh; fi
script:
- - if [[ "$TRAVIS_OS_NAME" == "linux" -a "$TRAVIS_CPU_ARCH" = "amd64" ]]; then mkdir build ; cd build ; cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH=$HOME/local -DCMAKE_C_FLAGS="-Werror -coverage" -DGEN_LANGUAGE_BINDINGS=ON .. && make -j2; fi
- - if [[ "$TRAVIS_OS_NAME" == "linux" -a "$TRAVIS_CPU_ARCH" != "amd64" ]]; then mkdir build ; cd build ; cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH=$HOME/local -DGEN_LANGUAGE_BINDINGS=ON -DENABLE_VALGRIND_TESTS=OFF .. && make -j2; fi
- - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then mkdir build ; cd build ; cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH=$HOME/local .. && make -j2; fi
+ - if [ "$TRAVIS_OS_NAME" = "linux" -a "$TRAVIS_CPU_ARCH" = "amd64" ]; then mkdir build ; cd build ; cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH=$HOME/local -DCMAKE_C_FLAGS="-Werror -coverage" -DGEN_LANGUAGE_BINDINGS=ON .. && make -j2; fi
+ - if [ "$TRAVIS_OS_NAME" = "linux" -a "$TRAVIS_CPU_ARCH" != "amd64" ]; then mkdir build ; cd build ; cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH=$HOME/local -DGEN_LANGUAGE_BINDINGS=ON -DENABLE_VALGRIND_TESTS=OFF .. && make -j2; fi
+ - if [ "$TRAVIS_OS_NAME" = "osx" ]; then mkdir build ; cd build ; cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH=$HOME/local .. && make -j2; fi
- ctest --output-on-failure
- sudo make install
