Skip to content

Commit 3fb1477

Browse files
author
John Yanarella
authored
Merge pull request #1 from CodeCatalyst/feature/travis-ci-integration
Travis CI Integration
2 parents 64e08c6 + 73d1c7d commit 3fb1477

3 files changed

Lines changed: 16 additions & 0 deletions

File tree

.travis.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
language: objective-c
2+
osx_image: xcode8.2
3+
4+
before_install:
5+
- brew update
6+
- brew outdated swiftlint || brew upgrade swiftlint
7+
8+
script:
9+
- set -o pipefail
10+
- xcodebuild -version
11+
- xcodebuild -showsdks
12+
- swiftlint lint --strict
13+
- xcodebuild -workspace MaterialDesignColorPicker.xcworkspace -scheme MaterialDesignColorPicker analyze | xcpretty

MaterialDesignColorPicker.xcodeproj/project.pbxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
FC9A3E691E47CFA300165FFB /* MaterialDesignColorSwatchCollectionViewHeaderView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = MaterialDesignColorSwatchCollectionViewHeaderView.xib; sourceTree = "<group>"; };
7272
FC9A3E6B1E47D0F000165FFB /* MaterialDesignColorSwatchCollectionViewHeaderView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MaterialDesignColorSwatchCollectionViewHeaderView.swift; sourceTree = "<group>"; };
7373
FC9A3E6F1E47D9A300165FFB /* RippleView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RippleView.swift; sourceTree = "<group>"; };
74+
FCB2E34C1E63B6B20043E886 /* .travis.yml */ = {isa = PBXFileReference; lastKnownFileType = text; path = .travis.yml; sourceTree = "<group>"; };
7475
FCE0E6771E480A8D0015974C /* OverlayScroller.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = OverlayScroller.swift; sourceTree = "<group>"; };
7576
FCE617FF1E5398B700D49B4D /* MaterialDesignColorPicker.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = MaterialDesignColorPicker.xib; sourceTree = "<group>"; };
7677
/* End PBXFileReference section */
@@ -98,6 +99,7 @@
9899
children = (
99100
FC5CE1921E229E7700C2743F /* .gitignore */,
100101
FC5CE1901E229E3B00C2743F /* .swiftlint.yml */,
102+
FCB2E34C1E63B6B20043E886 /* .travis.yml */,
101103
FC2EE8291E631F9A00838B99 /* LICENSE */,
102104
FC6F68D41E31C3710021749C /* Playground.playground */,
103105
FC2EE8281E631F9100838B99 /* README.md */,

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
</p>
77

88
<p align="center">
9+
<a href="https://travis-ci.org/CodeCatalyst/MaterialDesignColorPicker"><img src="https://travis-ci.org/CodeCatalyst/MaterialDesignColorPicker.svg?branch=master" alt="Travis CI Build Status"></a>
910
<a href="https://github.com/CodeCatalyst/MaterialDesignColorPicker/releases"><img src="https://img.shields.io/badge/version-1.0-yellow.svg" alt="Version: 1.0"></a>
1011
<a href="https://developer.apple.com/swift/"><img src="https://img.shields.io/badge/Swift-3.0.2-orange.svg" alt="Swift 3.0.2"></a>
1112
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT License-blue.svg" alt="License: MIT"></a>

0 commit comments

Comments
 (0)