-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
50 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,24 @@ | ||
os: osx | ||
language: objective-c | ||
osx_image: xcode8.3 | ||
matrix: | ||
include: | ||
- osx_image: xcode8.2 | ||
env: PLAT=iOS SWFT=3.0 | ||
- osx_image: xcode8.3 | ||
env: PLAT=iOS SWFT=3.1 | ||
- osx_image: xcode9 | ||
env: PLAT=iOS SWFT=3.2 | ||
- osx_image: xcode9 | ||
env: PLAT=iOS SWFT=4.0 | ||
|
||
before_install: | ||
- export UUID=$(instruments -s | ruby -e "ARGF.each_line{ |ln| ln =~ /iPhone SE .* \[(.*)\]/; if \$1; puts(\$1); exit; end }"); | ||
- export UUID=$(instruments -s | ruby -e "ARGF.each_line{ |ln| ln =~ /iPhone SE .* \[(.*)\]/; if \$1; puts(\$1); exit; end }") | ||
|
||
install: | ||
- carthage bootstrap --platform iOS | ||
|
||
script: | ||
- set -o pipefail; | ||
open -a "simulator" --args -CurrentDeviceUDID "$UUID"; | ||
xcodebuild -scheme PMKAddressBook -destination "id=$UUID" test | xcpretty | ||
- set -o pipefail | ||
- open -b com.apple.iphonesimulator --args -CurrentDeviceUDID "$UUID" | ||
- xcodebuild -scheme PMKAddressBook -destination "id=$UUID" clean build SWIFT_VERSION=$SWFT | ||
- xcodebuild -scheme PMKAddressBook -destination "id=$UUID" test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters