Skip to content

Commit 0724264

Browse files
committed
Merge branch 'release/1.1.2'
2 parents d0ce828 + ce3b096 commit 0724264

File tree

3 files changed

+36
-4
lines changed

3 files changed

+36
-4
lines changed

.travis.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,16 @@ xcode_project: AGString.xcodeproj
1414
xcode_scheme:
1515
- AGString
1616

17+
dist: trusty
18+
19+
addons:
20+
sonarcloud:
21+
organization: "swiftalgorithmclub"
22+
token:
23+
secure: $SONAR_TOKEN # encrypted value of your token
1724

1825
env:
1926
- CACHE_NAME=iOS PLATFORM=iOS
20-
- CACHE_NAME=macOS PLATFORM=macOS
21-
- CACHE_NAME=tvOS PLATFORM=tvOS
22-
- CACHE_NAME=watchOS PLATFORM=watchOS
2327

2428
install:
2529
- pip install codecov
@@ -68,13 +72,15 @@ script:
6872
fi
6973

7074
- xcodebuild clean -project "$TRAVIS_XCODE_PROJECT" -scheme "$SCHEME" | xcpretty
71-
75+
- sonar-scanner
76+
7277
# # Run `pod lib lint` if specified
7378
# - if [ $POD_LINT == "YES" ] && [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
7479
# pod repo update > /dev/null;
7580
# travis_wait 60 pod lib lint --allow-warnings;
7681
# fi
7782

83+
7884
after_success:
7985
- codecov
8086

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
<a href="https://developer.apple.com/swift/">
55
<img src="https://img.shields.io/badge/Swift-5.0-orange.svg?style=flat" alt="Swift 5.0">
66
</a>
7+
<a href="https://travis-ci.com/SwiftAlgorithmClub/AGString">
8+
<img src="https://travis-ci.com/SwiftAlgorithmClub/AGString.svg?branch=master" alt="SPM"> </a>
9+
<a href="https://codecov.io/gh/SwiftAlgorithmClub/AGString">
10+
<img src="https://codecov.io/gh/SwiftAlgorithmClub/AGString/branch/develop/graph/badge.svg" alt="SPM">
11+
</a>
712
<a href="http://cocoapods.org/pods/AGString">
813
<img src="https://img.shields.io/cocoapods/v/AGString.svg?style=flat" alt="Version">
914
</a>

sonar-project.properties

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
sonar.projectKey=SwiftAlgorithmClub_AGString
2+
sonar.organization=swiftalgorithmclub
3+
4+
# this is the name and version displayed in the SonarCloud UI.
5+
sonar.projectName=AGString
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=.
11+
12+
13+
# Encoding of the source code. Default is default system encoding
14+
#sonar.sourceEncoding=UTF-8
15+
16+
# The only way to get an accurate analysis of C/C++/Objective-C files is by using the SonarSource build-wrapper
17+
# and setting the property "sonar.cfamily.build-wrapper-output", but it was not specified.
18+
# If you don't want to analyze C/C++/Objective-C files, then prevent them from being analyzed by setting the following properties:
19+
sonar.c.file.suffixes=-
20+
sonar.cpp.file.suffixes=-
21+
sonar.objc.file.suffixes=-

0 commit comments

Comments
 (0)