Passed
Push — master ( f1ca6f...fcb004 )
by Vincent
07:33 queued 13s
created

Checkout Config

build:
    nodes:
        analysis:
          dependencies:
            override:
              - mvn install -DskipTests=true -Dmaven.javadoc.skip=true -Dcheckstyle.skip -P '!checkerframework,!checkerframework-jdk8,!checkerframework-jdk9orlater' -B -V
        tests:
            environment:
                sdkman:
                  - 'java@11-open'
                timezone: Europe/Paris

            services:
                mysql: 5.7

            dependencies:
              override:
                - mvn install -DskipTests=true -Dmaven.javadoc.skip=true -Dcheckstyle.skip -P '!checkerframework,!checkerframework-jdk8,!checkerframework-jdk9orlater' -B -V

            project_setup:
              override:
                - mvn clean compile -DskipTests=true -Dmaven.javadoc.skip=true -Dcheckstyle.skip -P '!checkerframework,!checkerframework-jdk8,!checkerframework-jdk9orlater' -B -V

            tests:
                override:
                    - command: mysql -u root -e "create database araknemu"
                    - command: mysql -u root -e "create user araknemu"
                    - command: mysql -u root -e "grant all privileges on araknemu.* to araknemu"
                    - command: mvn -P '!checkerframework,!checkerframework-jdk8,!checkerframework-jdk9orlater' test
                      coverage:
                        file: 'target/site/jacoco/jacoco.xml'
                        format: 'jacoco'
                    - command: 'mvn checkstyle:checkstyle'
                      analysis:
                        file: 'target/checkstyle-result.xml'
                        format: 'general-checkstyle'

Repository Config

filter:
    paths:
        - src/main/java/
build:
    environment:
        variables:
            DOCKER_API_VERSION: '1.38'

    nodes:
        analysis:
            environment:
                docker:
                    remote_engine: true
            tests:
                override:
                    - java-scrutinizer-run
                    -
                        command: java-sonar-run
                        use_website_config: true
        tests: true
checks:
    java:
        code_rating: true