Skip to content

Commit 4f28712

Browse files
committed
Add .travis.yml and badges to README.md
1 parent 1c7f3c0 commit 4f28712

File tree

3 files changed

+29
-0
lines changed

3 files changed

+29
-0
lines changed

.travis.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# references:
2+
# * https://www.objc.io/issues/6-build-tools/travis-ci/
3+
# * https://github.com/supermarin/xcpretty#usage
4+
5+
osx_image: xcode10.1
6+
language: swift
7+
# cache: cocoapods
8+
# podfile: Example/Podfile
9+
before_install:
10+
- gem install cocoapods --pre # Since Travis is not always on latest version
11+
# - pod install --project-directory=Example
12+
script:
13+
- pod lib lint

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# XMLCoder
22
Encoder & Decoder for XML using Swift's `Codable` protocol.
33

4+
[![CI Status](https://img.shields.io/travis/MaxDesiatov/XMLCoder.svg?style=flat)](https://travis-ci.org/MaxDesiatov/XMLCoder)
5+
[![Version](https://img.shields.io/cocoapods/v/XMLCoder.svg?style=flat)](https://cocoapods.org/pods/XMLCoder)
6+
[![License](https://img.shields.io/cocoapods/l/XMLCoder.svg?style=flat)](https://cocoapods.org/pods/XMLCoder)
7+
[![Platform](https://img.shields.io/cocoapods/p/XMLCoder.svg?style=flat)](https://cocoapods.org/pods/XMLCoder)
8+
49
This package is a fork of the original
510
[ShawnMoore/XMLParsing](https://github.com/ShawnMoore/XMLParsing)
611
with more options and tests added.

XMLCoder.xcodeproj/project.pbxproj

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
D1BCEBD12194416E000B550F /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
6262
D1BCEBD22194427A000B550F /* CHANGELOG.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = CHANGELOG.md; sourceTree = "<group>"; };
6363
D1BCEBD3219443E1000B550F /* XMLCoder.podspec */ = {isa = PBXFileReference; lastKnownFileType = text; path = XMLCoder.podspec; sourceTree = "<group>"; };
64+
D1BCEBD42194462D000B550F /* .travis.yml */ = {isa = PBXFileReference; lastKnownFileType = text; path = .travis.yml; sourceTree = "<group>"; };
6465
OBJ_10 /* DecodingErrorExtension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DecodingErrorExtension.swift; sourceTree = "<group>"; };
6566
OBJ_11 /* XMLDecoder.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = XMLDecoder.swift; sourceTree = "<group>"; };
6667
OBJ_12 /* XMLDecodingStorage.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = XMLDecodingStorage.swift; sourceTree = "<group>"; };
@@ -140,6 +141,7 @@
140141
OBJ_5 = {
141142
isa = PBXGroup;
142143
children = (
144+
D1BCEBD42194462D000B550F /* .travis.yml */,
143145
D1BCEBD22194427A000B550F /* CHANGELOG.md */,
144146
D1BCEBD3219443E1000B550F /* XMLCoder.podspec */,
145147
D1BCEBD12194416E000B550F /* README.md */,
@@ -247,6 +249,7 @@
247249
TargetAttributes = {
248250
"XMLParsing::XMLParsing" = {
249251
LastSwiftMigration = 1000;
252+
ProvisioningStyle = Automatic;
250253
};
251254
"XMLParsing::XMLParsingTests" = {
252255
LastSwiftMigration = 1000;
@@ -434,6 +437,9 @@
434437
OBJ_47 /* Debug */ = {
435438
isa = XCBuildConfiguration;
436439
buildSettings = {
440+
CODE_SIGN_IDENTITY = "Mac Developer";
441+
CODE_SIGN_STYLE = Automatic;
442+
DEVELOPMENT_TEAM = "";
437443
ENABLE_TESTABILITY = YES;
438444
FRAMEWORK_SEARCH_PATHS = (
439445
"$(inherited)",
@@ -447,6 +453,7 @@
447453
PRODUCT_BUNDLE_IDENTIFIER = XMLCoder;
448454
PRODUCT_MODULE_NAME = "$(TARGET_NAME:c99extidentifier)";
449455
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
456+
PROVISIONING_PROFILE_SPECIFIER = "";
450457
SKIP_INSTALL = YES;
451458
SWIFT_VERSION = 4.2;
452459
TARGET_NAME = XMLCoder;
@@ -456,6 +463,9 @@
456463
OBJ_48 /* Release */ = {
457464
isa = XCBuildConfiguration;
458465
buildSettings = {
466+
CODE_SIGN_IDENTITY = "Mac Developer";
467+
CODE_SIGN_STYLE = Automatic;
468+
DEVELOPMENT_TEAM = "";
459469
ENABLE_TESTABILITY = YES;
460470
FRAMEWORK_SEARCH_PATHS = (
461471
"$(inherited)",
@@ -469,6 +479,7 @@
469479
PRODUCT_BUNDLE_IDENTIFIER = XMLCoder;
470480
PRODUCT_MODULE_NAME = "$(TARGET_NAME:c99extidentifier)";
471481
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
482+
PROVISIONING_PROFILE_SPECIFIER = "";
472483
SKIP_INSTALL = YES;
473484
SWIFT_VERSION = 4.2;
474485
TARGET_NAME = XMLCoder;

0 commit comments

Comments
 (0)