Skip to content

Commit

Permalink
Merge pull request #1 from CodeCatalyst/feature/travis-ci-integration
Browse files Browse the repository at this point in the history
Travis CI Integration
  • Loading branch information
John Yanarella authored Feb 27, 2017
2 parents 64e08c6 + 73d1c7d commit 3fb1477
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
language: objective-c
osx_image: xcode8.2

before_install:
- brew update
- brew outdated swiftlint || brew upgrade swiftlint

script:
- set -o pipefail
- xcodebuild -version
- xcodebuild -showsdks
- swiftlint lint --strict
- xcodebuild -workspace MaterialDesignColorPicker.xcworkspace -scheme MaterialDesignColorPicker analyze | xcpretty
2 changes: 2 additions & 0 deletions MaterialDesignColorPicker.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
FC9A3E691E47CFA300165FFB /* MaterialDesignColorSwatchCollectionViewHeaderView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = MaterialDesignColorSwatchCollectionViewHeaderView.xib; sourceTree = "<group>"; };
FC9A3E6B1E47D0F000165FFB /* MaterialDesignColorSwatchCollectionViewHeaderView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MaterialDesignColorSwatchCollectionViewHeaderView.swift; sourceTree = "<group>"; };
FC9A3E6F1E47D9A300165FFB /* RippleView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RippleView.swift; sourceTree = "<group>"; };
FCB2E34C1E63B6B20043E886 /* .travis.yml */ = {isa = PBXFileReference; lastKnownFileType = text; path = .travis.yml; sourceTree = "<group>"; };
FCE0E6771E480A8D0015974C /* OverlayScroller.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = OverlayScroller.swift; sourceTree = "<group>"; };
FCE617FF1E5398B700D49B4D /* MaterialDesignColorPicker.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = MaterialDesignColorPicker.xib; sourceTree = "<group>"; };
/* End PBXFileReference section */
Expand Down Expand Up @@ -98,6 +99,7 @@
children = (
FC5CE1921E229E7700C2743F /* .gitignore */,
FC5CE1901E229E3B00C2743F /* .swiftlint.yml */,
FCB2E34C1E63B6B20043E886 /* .travis.yml */,
FC2EE8291E631F9A00838B99 /* LICENSE */,
FC6F68D41E31C3710021749C /* Playground.playground */,
FC2EE8281E631F9100838B99 /* README.md */,
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
</p>

<p align="center">
<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>
<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>
<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>
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT License-blue.svg" alt="License: MIT"></a>
Expand Down

0 comments on commit 3fb1477

Please sign in to comment.