From 0c54836b5b7f44bbe99b6d99344fef1f8d789be6 Mon Sep 17 00:00:00 2001 From: Merrick Sapsford Date: Thu, 16 Feb 2017 09:26:51 +0000 Subject: [PATCH] Add CI configuration --- .codecov.yml | 4 ++++ .travis.yml | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 .codecov.yml create mode 100644 .travis.yml diff --git a/.codecov.yml b/.codecov.yml new file mode 100644 index 00000000..8eb04c70 --- /dev/null +++ b/.codecov.yml @@ -0,0 +1,4 @@ +codecov: + + ignore: + - "Sources/PageboyTests/**/*" diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..0f1ad8e6 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,19 @@ + +language: objective-c +osx_image: xcode8.2 + +env: + global: + - WORKSPACE=Pageboy.xcworkspace + - PROJECT=Sources/Pageboy.xcodeproj + - SCHEME=Pageboy + +install: +- gem install xcpretty --no-rdoc --no-ri --no-document --quiet + +script: +- xcodebuild -scheme $SCHEME -workspace $WORKSPACE -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 7,OS=10.0' build test +#- pod lib lint --quick + +after_success: + - bash <(curl -s https://codecov.io/bash)