Skip to content

Commit 9bc9b4d

Browse files
authored
Migrate to Circle CI 2 (#779)
Ref: LIB-545
1 parent aaa8ce0 commit 9bc9b4d

File tree

2 files changed

+33
-26
lines changed

2 files changed

+33
-26
lines changed

.circleci/config.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
version: 2
2+
3+
jobs:
4+
build:
5+
macos:
6+
xcode: "9.4.1"
7+
steps:
8+
- checkout
9+
- run:
10+
name: Install build dependencies
11+
command: |
12+
sudo gem install xcpretty
13+
sudo gem install cocoapods -v $(var=$(tail -1 Podfile.lock); echo ${var##COCOAPODS:})
14+
15+
- run:
16+
name: Fetch Cocoapods specs
17+
command: curl https://cocoapods-specs.circleci.com/fetch-cocoapods-repo-from-s3.sh | bash -s cf
18+
19+
- run: make dependencies
20+
- run: make build-pretty
21+
- run: make test-pretty
22+
- run: make lint
23+
- run: make carthage
24+
25+
- store_test_results:
26+
# relies on xcpretty --report junit
27+
path: build/reports
28+
- run: bash <(curl -s https://codecov.io/bash)
29+
30+
# Save Pods to artifacts in case we need to dig up dependencies later
31+
- run: zip -FSr Pods.zip ./Pods
32+
- store_artifacts:
33+
path: Pods.zip

circle.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)