Skip to content

Commit 734e888

Browse files
committed
Update the remote source && add Travis-ci
1 parent 40edfd9 commit 734e888

File tree

4 files changed

+39
-18
lines changed

4 files changed

+39
-18
lines changed

.travis.yml

Lines changed: 33 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,35 @@
1-
# references:
2-
# * https://www.objc.io/issues/6-build-tools/travis-ci/
3-
# * https://github.com/supermarin/xcpretty#usage
4-
5-
osx_image: xcode7.3
61
language: objective-c
7-
# cache: cocoapods
8-
# podfile: Example/Podfile
9-
# before_install:
10-
# - gem install cocoapods # Since Travis is not always on latest version
11-
# - pod install --project-directory=Example
2+
osx_image: xcode9.4
3+
4+
env:
5+
global:
6+
- LC_CTYPE=en_US.UTF-8
7+
- LANG=en_US.UTF-8
8+
9+
addons:
10+
ssh_known_hosts: github.com
11+
12+
notifications:
13+
email: false
14+
15+
before_install:
16+
- env
17+
- locale
18+
- gem install cocoapods --no-rdoc --no-ri --no-document --quiet
19+
- gem install xcpretty --no-rdoc --no-ri --no-document --quiet
20+
- pod --version
21+
- pod setup --silent > /dev/null
22+
- pod repo update --silent
23+
- xcpretty --version
24+
- xcodebuild -version
25+
- xcodebuild -showsdks
26+
1227
script:
13-
- set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/SDWebImageSVGCoder.xcworkspace -scheme SDWebImageSVGCoder-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty
14-
- pod lib lint
28+
- set -o pipefail
29+
30+
- echo Check if the library described by the podspec can be built
31+
- pod lib lint --allow-warnings
32+
33+
- echo Build example
34+
- pod install --project-directory=Example
35+
- xcodebuild build -workspace Example/SDWebImageSVGCoder.xcworkspace -scheme SDWebImageSVGCoder-Example -sdk iphonesimulator -destination 'name=iPhone 6s' -configuration Debug | xcpretty -c

Example/Podfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ CHECKOUT OPTIONS:
3636
SPEC CHECKSUMS:
3737
CocoaLumberjack: db7cc9e464771f12054c22ff6947c5a58d43a0fd
3838
SDWebImage: e52654ceef9fdc19f4c612d64a5b6d3f05dd81a4
39-
SDWebImageSVGCoder: c533987b4fd41c53e2aca2c2e02099f0e9fb6279
39+
SDWebImageSVGCoder: f2b3b74ff39acbb28f60c1dad2e0fd19fa04cb6c
4040
SVGKit: 4055d9e809b5db8633755979cfb3b02dc5a8c20d
4141

4242
PODFILE CHECKSUM: dc5153f27ba2a6dd43c49d8e0100b34b78f46730

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# SDWebImageSVGCoder
22

3-
[![CI Status](https://img.shields.io/travis/[email protected]/SDWebImageSVGCoder.svg?style=flat)](https://travis-ci.org/[email protected]/SDWebImageSVGCoder)
3+
[![CI Status](https://img.shields.io/travis/SDWebImage/SDWebImageSVGCoder.svg?style=flat)](https://travis-ci.org/SDWebImage/SDWebImageSVGCoder)
44
[![Version](https://img.shields.io/cocoapods/v/SDWebImageSVGCoder.svg?style=flat)](https://cocoapods.org/pods/SDWebImageSVGCoder)
55
[![License](https://img.shields.io/cocoapods/l/SDWebImageSVGCoder.svg?style=flat)](https://cocoapods.org/pods/SDWebImageSVGCoder)
66
[![Platform](https://img.shields.io/cocoapods/p/SDWebImageSVGCoder.svg?style=flat)](https://cocoapods.org/pods/SDWebImageSVGCoder)
7-
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/dreampiggy/SDWebImageSVGCoder)
7+
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/SDWebImage/SDWebImageSVGCoder)
88

99

1010
## What's for
@@ -107,7 +107,7 @@ imageView.sd_setImage(with: url)
107107

108108
## Screenshot
109109

110-
<img src="https://raw.githubusercontent.com/dreampiggy/SDWebImageSVGCoder/master/Example/Screenshot/SVGDemo.png" width="300" />
110+
<img src="https://raw.githubusercontent.com/SDWebImage/SDWebImageSVGCoder/master/Example/Screenshot/SVGDemo.png" width="300" />
111111

112112
## Author
113113

SDWebImageSVGCoder.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ Pod::Spec.new do |s|
2121
TODO: Add long description of the pod here.
2222
DESC
2323

24-
s.homepage = 'https://github.com/[email protected]/SDWebImageSVGCoder'
24+
s.homepage = 'https://github.com/SDWebImage/SDWebImageSVGCoder'
2525
s.license = { :type => 'MIT', :file => 'LICENSE' }
2626
s.author = { '[email protected]' => '[email protected]' }
27-
s.source = { :git => 'https://github.com/[email protected]/SDWebImageSVGCoder.git', :tag => s.version.to_s }
27+
s.source = { :git => 'https://github.com/SDWebImage/SDWebImageSVGCoder.git', :tag => s.version.to_s }
2828

2929
s.ios.deployment_target = '8.0'
3030
s.tvos.deployment_target = '9.0'

0 commit comments

Comments
 (0)