Skip to content

Instantly share code, notes, and snippets.

@jeantimex
Last active February 24, 2019 22:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeantimex/19161fe4b0f621d476d0957c78b517a1 to your computer and use it in GitHub Desktop.
Save jeantimex/19161fe4b0f621d476d0957c78b517a1 to your computer and use it in GitHub Desktop.
.travis.yml with slater
language: objective-c
osx_image: xcode10.1
env:
matrix:
- TEST_SDK=iphonesimulator12.1 OS=12.1 NAME='iPhone XR'
- TEST_SDK=iphonesimulator12.1 OS=12.1 NAME='iPhone 7'
script:
- set -o pipefail && xcodebuild test -enableCodeCoverage YES -project SwiftyLib.xcodeproj -scheme SwiftyLib -sdk $TEST_SDK -destination "platform=iOS Simulator,OS=$OS,name=$NAME" ONLY_ACTIVE_ARCH=YES
after_success:
- slather
- bash <(curl -s https://codecov.io/bash) -f reports/cobertura.xml -X coveragepy -X gcov -X xcode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment