File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,11 +4,24 @@ language: objective-c
44xcode_project : STSecurity.xcodeproj
55xcode_sdk : iphonesimulator
66xcode_scheme : STSecurity
7+ addons :
8+ sonarcloud :
9+ organization : " cysp"
10+ token :
11+ secure : " nEmZnpgXh5Ba9tUCWLcyACYXQKG8XUEdWTMhFN4zJ8/gUCTdshYySWN6gd6sDLdfkCBNohrN1Xn0710jlNJWUiDBuz3hr2RnhAKOqwXbActW63BWRj9h1v8/AI2k7NkBL+/85l7+MbdP3mT43JOyNBq3GYZy/H132pR5phC62TA="
712env :
13+ global :
14+ - secure : XqWY+wX6j83BGKYI4LFDFHPBv2R2d7MhECwk1y+CRC1y3EfYji8TTTIWR2VQZCgZwRvf8YNva5zWk6ET4BramXdij/zV+guDC9cc6c/ws/ekt4Eiy6UpD5ZoxLPtHSW1+92xa46/udCOfrTh8ODAUv4IDzz74/CYFC6+FqGYjGE=
15+ jobs :
816 - XCODE_DESTINATION="platform=iOS Simulator,name=iPhone 8,OS=11.4"
917branches :
10- only :
11- - master
18+ only :
19+ - master
1220before_script :
13- - gem install xcpretty
14- script : set -o pipefail && xcodebuild test -project "${TRAVIS_XCODE_PROJECT}" -scheme "${TRAVIS_XCODE_SCHEME}" -sdk "${TRAVIS_XCODE_SDK}" -destination "${XCODE_DESTINATION}" | xcpretty
21+ - gem install xcpretty
22+ - brew install sonar-scanner
23+ script :
24+ - set -o pipefail && xcodebuild test -project "${TRAVIS_XCODE_PROJECT}" -scheme
25+ " ${TRAVIS_XCODE_SCHEME}" -sdk "${TRAVIS_XCODE_SDK}" -destination "${XCODE_DESTINATION}"
26+ | xcpretty
27+ - sonar-scanner
Original file line number Diff line number Diff line change 1+ sonar.projectKey =cysp_STSecurity
2+ sonar.organization =cysp
3+
4+ # this is the name and version displayed in the SonarCloud UI.
5+ sonar.projectName =STSecurity
6+ sonar.projectVersion =1.0
7+
8+ # Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
9+ # This property is optional if sonar.modules is set.
10+ sonar.sources =STSecurity
11+
12+ # Encoding of the source code. Default is default system encoding
13+ # sonar.sourceEncoding=UTF-8
You can’t perform that action at this time.
0 commit comments