---
dist: trusty
sudo: required

language: bash

addons:
  sonarcloud:
    organization: "cathive"

services:
  - docker

before_install:
  - docker pull koalaman/shellcheck

cache:
  directories:
    - '$HOME/.sonar/cache'

script:
  - docker run -v $(pwd)/assets:/assets koalaman/shellcheck --shell=bash /assets/check /assets/in /assets/out /assets/common.sh
  - sonar-scanner

matrix:
  fast_finish: true
---
dist: trusty
sudo: required

language: bash

addons:
  sonarcloud:
    organization: "cathive"

services:
  - docker

before_install:
  - docker pull koalaman/shellcheck

cache:
  directories:
    - '$HOME/.sonar/cache'

script:
  - docker run -v $(pwd)/assets:/assets -w="/assets" koalaman/shellcheck --shell=bash ./check ./in ./out ./common.sh
#  - sonar-scanner

matrix:
  fast_finish: true
Disable sonarqube-scanner and fix shellcheck.
Disable sonarqube-scanner and fix shellcheck.
