---
language: objective-c

before_script:
  - sudo easy_install cpp-coveralls

script:
  - xctool project MCUIViewLayoutExample/UIViewLayoutExample.xcodeproj -scheme UIViewLayoutExampleTests build test -sdk iphonesimulator -arch i386 ONLY_ACTIVE_ARCH=NO

after_success:
  - ./coveralls.rb --extension m --exclude tests --exclude-folder MCUIViewLayoutExample/UIViewLayoutExampleTests

---
language: objective-c

before_script:
  - sudo easy_install cpp-coveralls

script:
  - xctool project MCUIViewLayoutExample/UIViewLayoutExample.xcodeproj -scheme UIViewLayoutExampleTests build test -sdk iphonesimulator -arch i386 ONLY_ACTIVE_ARCH=NO

after_success:
  - ./coveralls.rb --extension m --exclude MCUIViewLayoutExample/UIViewLayoutExampleTests --exclude MCUIViewLayout/UIView+MCLayoutDeprecated.m

Exclude tests and deprecated stuff from coverage
Exclude tests and deprecated stuff from coverage
