forked from Moya/Moya
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
26 lines (24 loc) · 865 Bytes
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
machine:
xcode:
version: 9.0
environment:
LANG: en_US.UTF-8
dependencies:
pre:
- curl -sS https://cocoapods-specs.circleci.com/fetch-cocoapods-repo-from-s3.sh | bash
override:
- brew update ; brew update # Due to a problem with Homebrew, see: https://github.com/Homebrew/brew/issues/991
- brew install swiftlint
- bundle install
- scripts/bootstrap-if-needed.sh # only bootstrap if we have updated dependencies since our last cache.
- cd Demo ; bundle exec pod repo update
- cd Demo ; bundle exec pod install --verbose # Verbose to keep CI alive during long Specs repo setups.
cache_directories:
- "Carthage" # Cache carthage to speed up builds.
test:
pre:
override:
- rake test && rake test:carthage && rake build_demo
post:
- bundle exec danger
- bash <(curl -s https://codecov.io/bash) -J Moya