language: objective-c
osx_image: xcode7.2
install:
    pip install codecov
after_success:
    codecov
script: 
  - xctool -workspace MBProgressHUD.xcworkspace -scheme HudTests -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPad Air 2,OS=9.2" build test GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES
language: objective-c
osx_image: xcode7.2
script: 
  - xctool -workspace MBProgressHUD.xcworkspace -scheme HudTests -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPad Air 2,OS=9.2" build test GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES
after_success:
  - bash <(curl -s https://codecov.io/bash)

Revert "Updated codecov integration. "
Revert "Updated codecov integration. "

This reverts commit 3e64c75ebcebdd8575083d6391c9a21a3854558f.
