Commit d7c8c057 authored by Danielle Tomlinson's avatar Danielle Tomlinson

Move to workflows

parent d60ff0ec
version: 2.0
jobs:
build:
macos:
xcode: "9.2.0"
refrences:
steps: &steps
steps:
- checkout
......@@ -27,8 +26,40 @@ jobs:
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
- run: bundle exec rake spec:all
jobs:
examples:
macos:
xcode: "9.2.0"
environment:
COCOAPODS_CI_TASKS: EXAMPLES
<<: *steps
specs:
macos:
xcode: "9.2.0"
environment:
COCOAPODS_CI_TASKS: SPECS
<<: *steps
lint:
macos:
xcode: "9.2.0"
environment:
COCOAPODS_CI_TASKS: LINT
<<: *steps
danger:
docker:
- image: dantoml/danger
steps:
- checkout
- run: danger
workflows:
version: 2
build-test:
jobs:
- lint
- danger
- specs
- 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