blob: f4b6115beea03e61c32518a7355be3b40948034c [file] [log] [blame] [edit]
language: objective-c
osx_image: xcode8.2
sudo: false
# Only fire off builds for specific branches.
branches:
only:
- develop
- stable
env:
global:
- LC_CTYPE=en_US.UTF-8
- LANG=en_US.UTF-8
matrix:
- DESTINATION="platform=iOS Simulator,name=iPhone 7,OS=10.1" SDK="iphonesimulator10.2"
before_install:
- gem install xcpretty --no-rdoc --no-ri --no-document --quiet
script:
- set -o pipefail
- xcodebuild -version
- xcodebuild -showsdks
- xcodebuild -project MDFTextAccessibility.xcodeproj -scheme MDFTextAccessibility -sdk "$SDK" -destination "$DESTINATION" -configuration Debug GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES ONLY_ACTIVE_ARCH=NO build test | xcpretty -c;
after_success:
- bash <(curl -s https://codecov.io/bash)