travis: Trigger code review on lgtm.com
[strongswan.git] / .travis.yml
index 68db3ac..3e448c9 100644 (file)
@@ -44,6 +44,10 @@ matrix:
       addons:
         sonarcloud:
           organization: "strongswan"
       addons:
         sonarcloud:
           organization: "strongswan"
+    - env: TEST=lgtm
+      if: type = push AND env(LGTM_TOKEN) IS present
+      git:
+        depth: false
     - env: TEST=osx
       compiler: clang
       os: osx
     - env: TEST=osx
       compiler: clang
       os: osx