diff options
author | Pierre GRANDIN <grandinp@altern.org> | 2015-09-14 19:07:30 -0700 |
---|---|---|
committer | Pierre GRANDIN <grandinp@altern.org> | 2015-09-14 19:07:30 -0700 |
commit | 6f936ce49b6426a1b617859447bcc5f3ff028b7d (patch) | |
tree | 1048f5a7e93f79704733135d3dcc471910b0e78d /ci | |
parent | 00c89f42a7941ca62fc12cfaffd553946fd7e01b (diff) | |
download | navit-6f936ce49b6426a1b617859447bcc5f3ff028b7d.tar.gz |
Push to coverity only from navit-gps, and do not convert svg to png during CI builds
Diffstat (limited to 'ci')
-rw-r--r-- | ci/build_linux.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ci/build_linux.sh b/ci/build_linux.sh index 5589d71eb..b846c0b0f 100644 --- a/ci/build_linux.sh +++ b/ci/build_linux.sh @@ -1,9 +1,9 @@ -if [[ "${CIRCLE_BRANCH}" == "trunk" ]]; then +if [[ "${CIRCLE_PROJECT_USERNAME}" == "navit-gps" && "${CIRCLE_BRANCH}" == "trunk" ]]; then tar xfz ~/assets/cov-analysis-linux64-7.6.0.tar.gz export PATH=~/navit/cov-analysis-linux64-7.6.0/bin:$PATH mkdir bin && cd bin - cov-build --dir cov-int cmake ../ -Dgraphics/qt_qpainter:BOOL=FALSE -Dgui/qml:BOOL=FALSE + cov-build --dir cov-int cmake ../ -Dgraphics/qt_qpainter:BOOL=FALSE -Dgui/qml:BOOL=FALSE -DSVG2PNG:BOOL=FALSE cov-build --dir cov-int make || exit -1 tar czvf navit.tgz cov-int @@ -15,6 +15,6 @@ if [[ "${CIRCLE_BRANCH}" == "trunk" ]]; then https://scan.coverity.com/builds?project=$CIRCLE_PROJECT_USERNAME else mkdir bin && cd bin - cmake ../ -Dgraphics/qt_qpainter:BOOL=FALSE -Dgui/qml:BOOL=FALSE || exit -1 + cmake ../ -Dgraphics/qt_qpainter:BOOL=FALSE -Dgui/qml:BOOL=FALSE -DSVG2PNG:BOOL=FALSE || exit -1 make || exit -1 fi |