blob: 0260f6f8846210b32fd61a7492127913e485ffb7 [file] [log] [blame]
language: objective-c
sudo: false
env:
global:
- LC_CTYPE=en_US.UTF-8
- LANG=en_US.UTF-8
- LANGUAGE=en_US.UTF-8
matrix:
include:
- osx_image: xcode12.2
env: COVERAGE=code_coverage SDK="iphonesimulator14.2" DESTINATION="name=iPhone 6s,OS=11.4"
- osx_image: xcode12.2
env: SDK="iphonesimulator14.2" DESTINATION="name=iPhone 6s,OS=10.3.1"
before_install:
- gem install cocoapods --no-document --quiet
- pod install --repo-update
script:
- set -o pipefail
- xcodebuild test -workspace MotionAnimator.xcworkspace -scheme MotionAnimatorCatalog -sdk "$SDK" -destination "$DESTINATION" -enableCodeCoverage YES ONLY_ACTIVE_ARCH=YES | xcpretty -c;
after_success:
- if [ "$COVERAGE" == "code_coverage" ]; then
bash <(curl -s https://codecov.io/bash);
fi
- bash <(curl -s https://codecov.io/bash)