diff --git a/.slather.yml b/.slather.yml new file mode 100644 index 0000000..61d375a --- /dev/null +++ b/.slather.yml @@ -0,0 +1,5 @@ +ci_service: circleci +coverage_service: coveralls +xcodeproj: Example/SSOperationsExample.xcodeproj +source_directory: SSOperations +ci_access_token: bxxVqw9yfwf5ZaEuflLEH4R0V80ZsYQaQ diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 6b98f07..0000000 --- a/.travis.yml +++ /dev/null @@ -1,10 +0,0 @@ -osx_image: xcode61 -language: objective-c -before_install: gem install cocoapods xcpretty -N -cache: cocoapods -podfile: Example/Podfile -env: - - LC_CTYPE=en_US.UTF-8 LANG=en_US.UTF-8 -script: - - set -o pipefail && xcodebuild -workspace Example/SSOperationsExample.xcworkspace -scheme SSOperationsExample -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 6" clean test | xcpretty -c - - pod lib lint --quick diff --git a/README.md b/README.md index 6ff5b0c..42d66e0 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ SSOperations ============= -[![Build Status](https://travis-ci.org/splinesoft/SSOperations.png?branch=master)](https://travis-ci.org/splinesoft/SSOperations) +[![Circle CI](https://circleci.com/gh/splinesoft/SSOperations.svg?style=svg&circle-token=d07be6d02465871a05a2d5ca5fa38cb5137c1838)](https://circleci.com/gh/splinesoft/SSOperations) [![Coverage Status](https://coveralls.io/repos/splinesoft/SSOperations/badge.svg)](https://coveralls.io/r/splinesoft/SSOperations) Handy `NSOperationQueue` and `NSBlockOperation` helpers. diff --git a/circle.yml b/circle.yml new file mode 100644 index 0000000..fb14870 --- /dev/null +++ b/circle.yml @@ -0,0 +1,20 @@ +machine: + environment: + LANG: en_US.UTF-8 + LC_CTYPE: en_US.UTF-8 +dependencies: + pre: + - xcrun instruments -w "iPhone 6 (8.1 Simulator)" || exit 0 + override: + - sudo gem install cocoapods xcpretty obcd slather -N + - pod install --project-directory=Example +test: + override: + - set -o pipefail && xcodebuild -workspace Example/SSOperationsExample.xcworkspace -scheme SSOperationsExample + -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 6" + GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES clean test | xcpretty -c + --report junit --output ${CIRCLE_TEST_REPORTS}/junit.xml + - pod lib lint --quick + - obcd --path SSOperations find HeaderStyle + post: + - slather