Skip to content
Snippets Groups Projects
Commit a1a31474 authored by Justin Carpentier's avatar Justin Carpentier Committed by GitHub
Browse files

Merge pull request #287 from jcarpent/topic/travis

Make coverage and cppcheck optional and dependant of the current branch
parents b126270e 72dcc479
No related merge requests found
Subproject commit 507fed5a878084bc8e104269ffa5208a018f64b5
Subproject commit 00d90b0f0c3aa0579667d963cc91cae4290add3c
......@@ -13,6 +13,8 @@ env:
- DEBSIGN_KEYID=5AE5CD75
- LCOV_IGNORE_RULES="*unittest* /opt/openrobots/*"
- CC=gcc
- DO_COVERAGE_ON_BRANCH="master;release"
- DO_CPPCHECK_ON_BRANCH=""
matrix:
# - BUILDTYPE=Release
# - BUILDTYPE=Debug
......@@ -35,7 +37,7 @@ install:
script:
- export CMAKE_ADDITIONAL_OPTIONS="-DCMAKE_BUILD_TYPE=${BUILDTYPE}"
- sudo free -m -t
- travis_wait 60 ./.travis/run ../travis_custom/custom_build
- ./.travis/run ../travis_custom/custom_build
after_failure: ./.travis/run after_failure
after_success:
- ./.travis/run after_success
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment