Disabling sonarcloud.

This commit is contained in:
Godzil 2018-02-01 15:59:11 +00:00
parent 97fa1cc4d1
commit ac50dea14b

View File

@ -14,9 +14,9 @@ addons:
- curl
- xorg-dev
- libglu1-mesa-dev
sonarcloud:
organisation: "godzil-github"
token: ${SONARCLOUD_TOKEN}
# sonarcloud:
# organisation: "godzil-github"
# token: ${SONARCLOUD_TOKEN}
compiler:
- clang
@ -28,11 +28,11 @@ script:
- cmake -DUSE_ALLEGRO=OFF -DUSE_PROFILING=OFF -DCOVERALLS=OFF -DCMAKE_BUILD_TYPE=Release ..
- cmake --build .
- cd ..
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then mkdir sonar; cd sonar; cmake -DUSE_ALLEGRO=OFF -DUSE_PROFILING=OFF -DCOVERALLS=OFF -DCMAKE_BUILD_TYPE=Release ..; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then make clean ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then build-wrapper-linux-x86-64 --out-dir bw-output cmake --build . ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cd .. ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sonar-scanner -Dsonar.login=$SONARCLOUD_TOKEN; fi
# - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then mkdir sonar; cd sonar; cmake -DUSE_ALLEGRO=OFF -DUSE_PROFILING=OFF -DCOVERALLS=OFF -DCMAKE_BUILD_TYPE=Release ..; fi
# - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then make clean ; fi
# - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then build-wrapper-linux-x86-64 --out-dir bw-output cmake --build . ; fi
# - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cd .. ; fi
# - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sonar-scanner -Dsonar.login=$SONARCLOUD_TOKEN; fi
- mkdir coverage
- cd coverage
- cmake -DUSE_ALLEGRO=OFF -DUSE_PROFILING=OFF -DCOVERALLS=ON -DCMAKE_BUILD_TYPE=Debug ..