File tree 2 files changed +24
-0
lines changed
2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Travis CI config for AppAuth
2
+ # Use the `wwtd` gem to test locally.
3
+ language : objective-c
4
+ osx_image : xcode9
5
+ # Tests iOS, macOS and tvOS: both static library and framework schemes.
6
+ env :
7
+ # To generate this list, use `xcodebuild -showsdks` to get possible SDK values, and platforms.
8
+ # Use `instruments -s devices` to get the device name.
9
+ - SCHEME=OpenLocationCode_iOS DESTINATION="'platform=iOS Simulator,name=iPhone 6,OS=11.0'" SDK=iphonesimulator11.0
10
+ - SCHEME=OpenLocationCode_macOS DESTINATION="'platform=macOS,arch=x86_64'" SDK=macosx10.13
11
+ - SCHEME=OpenLocationCode_tvOS DESTINATION="'platform=tvOS Simulator,name=Apple TV,OS=11.0'" SDK=appletvsimulator11.0
12
+ before_script :
13
+ - sudo gem install xcpretty
14
+ script :
15
+ # Breaking down this command:
16
+ # eval is used here, otherwise environment variables are not present.
17
+ # `set -o pipefail && ` is so that the return code isn't gobbled by xcpretty (per https://github.com/supermarin/xcpretty#usage)
18
+ # then it's standard xcodebuild | xcpretty.
19
+ - eval "set -o pipefail && xcodebuild -project OpenLocationCode.xcodeproj -scheme $SCHEME -sdk $SDK -destination $DESTINATION -enableCodeCoverage YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES OTHERCFLAGS='-Werror' test | xcpretty"
20
+ - eval "swift --version; swift test"
21
+ after_success :
22
+ - bash <(curl -s https://codecov.io/bash)
23
+
Original file line number Diff line number Diff line change 1
1
# Open Location Code for Swift
2
+ [ ![ Build Status] ( https://travis-ci.org/google/open-location-code-swift.svg?branch=master )] ( https://travis-ci.org/google/open-location-code-swift )
2
3
[ ![ Carthage compatible] ( https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat )] ( https://github.com/Carthage/Carthage )
3
4
4
5
Convert between decimal degree coordinates and Open Location Codes. Shorten
You can’t perform that action at this time.
0 commit comments