|
|
@ -72,15 +72,15 @@ jobs: |
|
|
|
command: python3 -m build |
|
|
|
command: python3 -m build |
|
|
|
working_directory: /home/mythril |
|
|
|
working_directory: /home/mythril |
|
|
|
|
|
|
|
|
|
|
|
- run: |
|
|
|
#- run: |
|
|
|
name: Sonar analysis |
|
|
|
# name: Sonar analysis |
|
|
|
command: if [ -z "$CIRCLE_PR_NUMBER" ]; then if [ -z "$CIRCLE_TAG" ]; then |
|
|
|
# command: if [ -z "$CIRCLE_PR_NUMBER" ]; then if [ -z "$CIRCLE_TAG" ]; then |
|
|
|
sonar-scanner -Dsonar.projectKey=$SONAR_PROJECT_KEY |
|
|
|
# sonar-scanner -Dsonar.projectKey=$SONAR_PROJECT_KEY |
|
|
|
-Dsonar.organization=$SONAR_ORGANIZATION |
|
|
|
# -Dsonar.organization=$SONAR_ORGANIZATION |
|
|
|
-Dsonar.branch.name=$CIRCLE_BRANCH |
|
|
|
# -Dsonar.branch.name=$CIRCLE_BRANCH |
|
|
|
-Dsonar.projectBaseDir=/home/mythril -Dsonar.sources=mythril |
|
|
|
# -Dsonar.projectBaseDir=/home/mythril -Dsonar.sources=mythril |
|
|
|
-Dsonar.host.url=$SONAR_HOST_URL -Dsonar.tests=/home/mythril/tests |
|
|
|
# -Dsonar.host.url=$SONAR_HOST_URL -Dsonar.tests=/home/mythril/tests |
|
|
|
-Dsonar.login=$SONAR_LOGIN; fi; fi |
|
|
|
# -Dsonar.login=$SONAR_LOGIN; fi; fi |
|
|
|
# - run: |
|
|
|
# - run: |
|
|
|
# name: Integration tests |
|
|
|
# name: Integration tests |
|
|
|
# command: if [ -z "$CIRCLE_PR_NUMBER" ]; then ./run-integration-tests.sh; fi |
|
|
|
# command: if [ -z "$CIRCLE_PR_NUMBER" ]; then ./run-integration-tests.sh; fi |
|
|
|