How to scan scala code with sbt

Hi
I am new to sonar. how to scan scala code with sbt. I use travis-ci as my CI tool

There is no integration with sbt. For Scala code, you have 2 choices:

  • you can try the AutoScan [beta] feature. It’s very easy to use.
  • if you want to import rules generated by your CI with Scapegoat or Scalastyle, then you should rely on our Travis-CI addon and trigger the anlaysis with the SonarScanner CLI.