-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #58 from typelift/swift-develop
Update to Swift 3.0
- Loading branch information
Showing
31 changed files
with
252 additions
and
2,908 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,5 +1,7 @@ | ||
# Xcode | ||
.DS_Store | ||
.build/* | ||
Packages/* | ||
build/* | ||
*.pbxuser | ||
!default.pbxuser | ||
|
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,21 +1,56 @@ | ||
language: objective-c | ||
osx_image: xcode7.3 | ||
env: | ||
- TEST_CONFIG="RELEASE" | ||
- TEST_CONFIG="PODS" | ||
|
||
before_install: true | ||
install: true | ||
script: | ||
- if [[ "$TEST_CONFIG" == "RELEASE" ]]; then script/cibuild Swiftx ; fi | ||
- if [[ "$TEST_CONFIG" == "RELEASE" ]]; then xcodebuild test -scheme Swiftx-tvOS -destination 'platform=tvOS Simulator,name=Apple TV 1080p' ; fi | ||
- if [[ "$TEST_CONFIG" == "RELEASE" ]]; then xcodebuild build -scheme Swiftx-watchOS -destination 'platform=watchOS Simulator,name=Apple Watch - 42mm' ; fi | ||
- if [[ "$TEST_CONFIG" == "PODS" ]]; then pod lib lint; fi | ||
|
||
global: | ||
- LC_CTYPE=en_US.UTF-8 | ||
matrix: | ||
include: | ||
- os: osx | ||
language: objective-c | ||
osx_image: xcode8 | ||
before_install: | ||
- git submodule update --init --recursive | ||
script: | ||
# Restore pod build before shipping for 3.0 | ||
# - pod lib lint | ||
- carthage build --no-skip-current | ||
- os: osx | ||
language: objective-c | ||
osx_image: xcode8 | ||
before_install: | ||
- git submodule update --init --recursive | ||
script: | ||
- set -o pipefail | ||
- xcodebuild test -scheme Swiftx | xcpretty -c | ||
# -- Start iOS -- | ||
# !!!: Make sure desired device name & OS version are suitable for the Xcode version installed on osx_image | ||
- iOS_DEVICE_NAME="iPad Pro (12.9 inch)" | ||
- iOS_RUNTIME_VERSION="10.0" | ||
# Get simulator identifier for desired device/runtime pair | ||
- SIMULATOR_ID=$(xcrun instruments -s | grep -o "${iOS_DEVICE_NAME} (${iOS_RUNTIME_VERSION}) \[.*\]" | grep -o "\[.*\]" | sed "s/^\[\(.*\)\]$/\1/") | ||
- echo $SIMULATOR_ID | ||
- echo $iOS_DEVICE_NAME | ||
- echo $iOS_RUNTIME_VERSION | ||
# !!!: Start simulator w/ desired device—helps avoid issues w/ Xcode timing out when waiting for simulator to become ready | ||
- open -b com.apple.iphonesimulator --args -CurrentDeviceUDID $SIMULATOR_ID | ||
- xcodebuild test -scheme Swiftx-iOS -destination "platform=iOS Simulator,name=${iOS_DEVICE_NAME},OS=${iOS_RUNTIME_VERSION}" | xcpretty -c | ||
# -- End iOS -- | ||
- xcodebuild test -scheme Swiftx-tvOS -destination 'platform=tvOS Simulator,name=Apple TV 1080p' | xcpretty -c | ||
- os: linux | ||
language: generic | ||
sudo: required | ||
dist: trusty | ||
before_install: | ||
- git submodule update --init --recursive | ||
- wget -q -O - https://swift.org/keys/all-keys.asc | gpg --import - | ||
- wget https://swift.org/builds/swift-3.0-release/ubuntu1404/swift-3.0-RELEASE/swift-3.0-RELEASE-ubuntu14.04.tar.gz | ||
- tar xzf swift-3.0-RELEASE-ubuntu14.04.tar.gz | ||
- export PATH=${PWD}/swift-3.0-RELEASE-ubuntu14.04/usr/bin:"${PATH}" | ||
script: | ||
- swift build | ||
notifications: | ||
webhooks: | ||
urls: | ||
- https://webhooks.gitter.im/e/1d781e1bcbabade5de35 | ||
on_success: always | ||
on_failure: always | ||
on_start: always | ||
|
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,3 +1,3 @@ | ||
github "typelift/Operadics" | ||
github "typelift/Operadics" | ||
github "typelift/SwiftCheck" | ||
|
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,2 +1,2 @@ | ||
github "typelift/Operadics" "0.2.0" | ||
github "typelift/SwiftCheck" "v0.6.0" | ||
github "typelift/Operadics" "0.2.2" | ||
github "typelift/SwiftCheck" "v0.7.0" |
Submodule SwiftCheck
updated
53 files
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "Swiftx", | ||
targets: [ | ||
Target(name: "Swiftx"), | ||
], | ||
dependencies: [ | ||
.Package(url: "https://github.com/typelift/Operadics.git", versions: Version(0,2,2)...Version(0,2,2)) | ||
] | ||
) | ||
|
||
let libSwiftx = Product(name: "Swiftx", type: .Library(.Dynamic), modules: "Swiftx") | ||
products.append(libSwiftx) |
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
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
File renamed without changes.
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
File renamed without changes.
Oops, something went wrong.