| 1234567891011121314151617181920212223242526272829303132 |
- image: atlassian/default-image:2
- clone:
- depth: full
- pipelines:
- default:
- - step:
- caches:
- - git-modules
- script:
- - add-apt-repository ppa:ubuntu-toolchain-r/test -y
- - apt-get update
- - apt-get install -y jq gcc-9 g++-9 unzip cmake lib32ncurses5 lib32z1 lib32stdc++6 python3-venv
- - update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 90 --slave /usr/bin/g++ g++ /usr/bin/g++-9 --slave /usr/bin/gcov gcov /usr/bin/gcov-9
- - git submodule update --recursive --init
- - source bitbucket-pipelines-dependencies.sh
- - ./build_test.sh
- - ./code_coverage.sh
- - cd build/test
- - build-wrapper-linux-x86-64 --out-dir SonarQube-output make clean all
-
- - cd -
- - export SONAR_SCANNER_OPTS="-Xmx1024m"
- - sonar-scanner -Dproject.settings=sonar-project.properties -Dsonar.login=$SONAR_LOGIN
-
- definitions:
- caches:
- git-modules: .git/modules
|