diff --git a/.travis.yml b/.travis.yml index f20db136..0ab7bd2e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -99,6 +99,48 @@ matrix: - coveralls --gcov-options '\-lp' -e debian -e doc -e icon -e logo -e m4 -e scripts -e examples - bash <(curl -s https://codecov.io/bash) + # + # sonarcloud + # + - os: linux + env: + - TEST="sonarcloud" + addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - ca-certificates + - gcc + - g++ + - gpm + - libgpm-dev + - libcppunit-dev + - autoconf-archive + sonarcloud: + organization: "gansm" + token: + secure: |- + Vai4Z9BoLsCdrtra5bP/xM8uZnMLKXWS3AH0Z6NnP6bBIa7o9i44Hg5b80P5yL3w + 22NgZcX5BrPNhTFbbsulw+F8OdnDETV1bxrDkAVaLGlw+pVjBFNhwXZzyHTx7rsX + GQ/5ry1gIclRlyUO6atW5zQsImAPkTuMv6fFzjgiN1z5vheOTjOKpKqVZNWOURJT + kKgSqiPgHMlR8JLqlHJ/322YVjOOwTLNPrHV6/TrWFrIHI3nChYYX60394sTzKrv + XkU0uvoiJts0cEk97AWcWEfq5TkF1X9604UOZRifNps9kfNZOHjgUuFUvvo3WE8W + ek9LU/0Ec9kViJEASsSE6VzNXWDqu+VkqisJwchUkn6OxoDILSkJpceco/Rx4dAO + phMSgXjCCsvz5igniVyFUixoBvGo4D1bLO6zZPDVxXMDMhpzQKqwqkJo6FYcl109 + rni9IuLvMFDAwUuzCbXlbjSPvdOoDiq+8NY1A0TOtTp4z4q9NCPr6TlCcKrazqnN + Xz4Nxo8xZCHxaH7CaXjBmh91Wp5aIzbwJS9fg6A7e2Is1HJm9YW1j3akBjzT//kE + GhOEiXesrPvH5c9XxyO8ZgnkYjNBAES/9aUn8NZBPgQqcUhWAAe1r9fH4iy3Zj+/ + 26IUvLfJ05uf1yEAzR9/xDIJFF7Heg1FRtzd6IiAdQ4= + script: + - autoreconf -v --install --force + - ./configure --prefix=/usr + - build-wrapper-linux-x86-64 --out-dir bw-output make all + - sonar-scanner + cache: + directories: + - '$HOME/.sonar/cache' + # # macOS # diff --git a/sonar-project.properties b/sonar-project.properties new file mode 100644 index 00000000..58d8aad4 --- /dev/null +++ b/sonar-project.properties @@ -0,0 +1,6 @@ +sonar.projectKey=gansm_finalcut +sonar.projectName=finalcut +sonar.projectVersion=0.6.1 +sonar.sources=. +sonar.cfamily.build-wrapper-output=bw-output +