summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2017-04-03 07:20:05 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2017-04-03 07:20:05 +0200
commitd3dc03e2232cc8629345872757cd9d4d952c18de (patch)
tree82bf2b5315d0f59f620a2ba96a18425b3b79af81 /.travis.yml
parent7a653c0e018396adaa0ec809833eeee9f5635e06 (diff)
Update travis CI configuration to launch SonarQube
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml18
1 files changed, 16 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index faa1440..f83d717 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,3 +1,12 @@
+dist: trusty
+sudo: true
+
+addons:
+ sonarqube:
+ organization: "cgsecurity-github"
+ token:
+ secure: "HGnOsSSghmeMHCbigtEAgkV6oaJZ1xFUhvZun0oPOv7Y2XCpIPw376G5wTppgzZUZdcSsNcu63FAnWmZZDBH29mAd6K4tIw6MDqAe9UyLzWHMEMWrMQjqSMOaqetLCw4e1Zqa0kSYyZAdg4Fp7NrNjPLho1fVUJBCCrBtU1AxaPmMNkGpSZ1d9YK6rz58jNBnm7dKp0LSUFfcas88aXKuGhGYdttdPmD4/E6XQprFGMzBMk7XXV2guKgziAprhaIAF7QOs24FhAq6IKSu00JH5UAqtgeQ9+K7srv4lHeHz/N2SzLJldrei3+WNo72T8g10enJpcerZ/lS0Tl/J+5YPsC0TAXRqZmWlbSs7CR/N6CTMlckox8tUTeDyptIYhh50xZYwR+WB4ODW5vROz7EKXVfd7YHprnMZuGMw8eJaenTZ8wm/erms38rmZNsRKqoHWXxP4QwjOJumMFJVKyq1/5MkT18lA2Ajy57WcS6SjWGyRhdirV/IGbsFdS8A21PQ0ASDA7UjJrDYclmiEfy7G1OItMv739llM2z23mN/UnKO9ijPPfi3quCSEeozQiOLQpwsdmGUhAkPfBN6dAutqIrgXl/rFV3y2KNhDprWd0GBrtNhcTLWr3/5+0rrh8ntkF904QCBvR1XwOUH4z8nmGq35WXVs4Y2aafrRw1dM="
+
language: c
compiler:
- gcc
@@ -8,7 +17,12 @@ install:
before_script:
- autoreconf -i
script:
- - ./configure --disable-qt && make
+ - ./configure --disable-qt
+ - make clean
+ - build-wrapper-linux-x86-64 --out-dir bw-output make all
+ - sonar-scanner
after_success:
- sudo make install
-sudo: true
+cache:
+ directories:
+ - '$HOME/.sonar/cache'