Skip to content

Commit

Permalink
Update circle config to use swift test
Browse files Browse the repository at this point in the history
This should be faster, and lets us test our SPM setup on CI.

Note that this _also_ updates the version of Xcode we're using on CI, which
was woefully out of date up till now.
  • Loading branch information
gfontenot committed May 29, 2019
1 parent 6eb0cff commit 7d359c7
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,18 @@ version: 2
jobs:
build-and-test:
macos:
xcode: "9.3.0"
xcode: "10.2.0"

steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "Cartfile.resolved" }}
- run:
name: Install Carthage Dependencies
command: bin/carthage-bootstrap-if-needed
key: dependency-cache-{{ checksum "Package.resolved" }}
- run: swift build
- save_cache:
key: dependency-cache-{{ checksum "Cartfile.resolved" }}
key: dependency-cache-{{ checksum "Package.resolved" }}
paths:
- Carthage
- run:
name: Build and Test
command: bin/test
- .build
- run: swift test

workflows:
version: 2
Expand Down

0 comments on commit 7d359c7

Please sign in to comment.