Newer
Older
script:
- cmake . -DCMAKE_CXX_FLAGS="-Werror"
- make -j4
- make clean
- cmake . -DCMAKE_CXX_FLAGS="-Wall -Wextra" # Build again, but with more warnings
- make -j4
variables:
GIT_SUBMODULE_STRATEGY: normal
- make tests -j4
- ./tests --use-colour yes
- ./tests -r junit -o junit.xml
before_script:
- apt-get update -qq && apt-get install -y -qq cppcheck
- cppcheck --version
before_script:
- apt-get update -qq && apt-get install -y -qq vera++
- vera++ --version
- cp ci/vera.profile /usr/lib/vera++/profiles/custom
before_script:
- apt-get update -qq && apt-get install -y -qq clang-tidy-4.0
- clang-tidy-4.0 --version