Skip to content

Commit

Permalink
Merge pull request #37 from RobotsAndPencils/setup-circle-ci
Browse files Browse the repository at this point in the history
Set Up CI
  • Loading branch information
interstateone authored May 9, 2019
2 parents 9b4974e + c3442ea commit 669c603
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
version: 2
jobs:
test:
macos:
xcode: "10.1.0"
shell: /bin/bash --login -eo pipefail
steps:
- checkout
- run:
name: Run tests
command: swift test -Xswiftc "-target" -Xswiftc "x86_64-apple-macosx10.13"

workflows:
version: 2
build-test-lint:
jobs:
- test
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

Manage the Xcodes installed on your Mac

[![CircleCI](https://circleci.com/gh/RobotsAndPencils/xcodes.svg?style=svg)](https://circleci.com/gh/RobotsAndPencils/xcodes)

## Installation

### Homebrew (Preferred)
Expand Down
3 changes: 2 additions & 1 deletion Tests/XcodesKitTests/Environment+Mock.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ extension Files {
let url = URL(fileURLWithPath: "Stub.plist", relativeTo: URL(fileURLWithPath: #file).deletingLastPathComponent())
return try? Data(contentsOf: url)
},
removeItem: { _ in }
removeItem: { _ in },
createFile: { _, _, _ in return true }
)
}

0 comments on commit 669c603

Please sign in to comment.