Commit 3fce6d47 authored by Danielle Tomlinson's avatar Danielle Tomlinson

Try circleci 2.0

parent 8816d4db
version: 2.0
jobs:
build:
macos:
xcode: "9.2.0"
steps:
- checkout
- restore_cache:
keys:
- v1-gems-{{ checksum "Gemfile.lock" }}
- run:
name: Setup Dependencies
command: |
sudo gem update --system
bundle check || bundle install --path .bundle
- save_cache:
key: v1-gems-{{ checksum "Gemfile.lock" }}
paths:
- ".bundle"
- run:
name: Fetch CocoaPods Specs
command: .circle-scripts/fetch-cocoapods-repo-from-s3.sh
- run:
name: Setup Git
command: |
git config --global user.email "tests@cocoapods.org"
git config --global user.name "CocoaPods Tests"
- run: bundle exec pod env
- run:
name: Run Examples
command: bundle exec rake spec:all
environment:
COCOAPODS_CI_TASKS: EXAMPLES
machine:
ruby:
version: system
xcode:
version: "9.2"
dependencies:
override:
- sudo gem update --system
- bundle check || bundle install --path .bundle
- .circle-scripts/fetch-cocoapods-repo-from-s3.sh
cache_directories:
- .bundle
test:
pre:
- git config --global user.email "tests@cocoapods.org"
- git config --global user.name "CocoaPods Tests"
- bundle exec pod env
override:
- bundle exec rake spec:all:
environment:
COCOAPODS_CI_TASKS: EXAMPLES
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment