Merge pull request #91 from jpotts18/travis-codecoverage

added codecov to travis
This commit is contained in:
Jeff Potter 2016-02-22 20:19:36 -07:00
commit 759d707a39
1 changed files with 10 additions and 4 deletions

View File

@ -1,9 +1,15 @@
language: objective-c
osx_image: xcode7
osx_image: xcode7.1
before_install:
- gem install cocoapods --no-rdoc --no-ri --no-document --quiet
- gem install xcpretty --no-rdoc --no-ri --no-document --quiet
script:
- xctool -project Validator.xcodeproj -scheme Validator -sdk iphonesimulator9.0 build test
- pod lib lint
- pod lib lint
- xcodebuild clean build test -project Validator.xcodeproj -scheme Validator -sdk iphonesimulator9.1 -destination "OS=9.1,name=iPhone 6" -enableCodeCoverage YES | xcpretty
after_success:
- bash <(curl -s https://codecov.io/bash)