Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] Test Xcode 10.1 #205

Merged
merged 1 commit into from
Jan 23, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 14 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ matrix:
include:
- os: osx
language: objective-c
osx_image: xcode9.3
osx_image: xcode9.4
script:
# To work around the lint error: "ERROR | swift: Specification `Himotoki` specifies an inconsistent `swift_version` (`4.0`) compared to the one present in your `.swift-version` file (`4.1`). Please remove the `.swift-version` file which is now deprecated and only use the `swift_version` attribute within your podspec."
# `.swift-version` is for swiftenv, not for CocoaPods, so we can't remove the file as suggested.
Expand All @@ -15,15 +15,23 @@ matrix:
- JOB=PODSPEC
- os: osx
language: objective-c
osx_image: xcode9.3
osx_image: xcode9.4
script:
- rake "build[build-for-testing test-without-building, Himotoki-macOS, macosx, arch=x86_64]"
- rake "build[build-for-testing test-without-building, Himotoki-iOS, iphonesimulator, name=iPhone 8]"
- rake "build[build-for-testing test-without-building, Himotoki-tvOS, appletvsimulator, name=Apple TV]"
- rake "build[build, Himotoki-watchOS, watchsimulator, name=Apple Watch - 38mm]"
- os: osx
language: objective-c
osx_image: xcode10.1
script:
- rake "build[build-for-testing test-without-building, Himotoki-macOS, macosx, arch=x86_64]"
- rake "build[build-for-testing test-without-building, Himotoki-iOS, iphonesimulator, name=iPhone 8]"
- rake "build[build-for-testing test-without-building, Himotoki-tvOS, appletvsimulator, name=Apple TV]"
- rake "build[build, Himotoki-watchOS, watchsimulator, name=Apple Watch - 38mm]"
- os: osx
language: generic
osx_image: xcode9.3
osx_image: xcode9.4
script:
- swift --version
- swift build
Expand All @@ -32,7 +40,7 @@ matrix:
- JOB=SWIFTPM_DARWIN
- os: osx
language: generic
osx_image: xcode9.3
osx_image: xcode10.1
before_install:
- eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/9f442512a46d7a2af7b850d65a7e9bd31edfb09b/swiftenv-install.sh)"
script:
Expand All @@ -41,7 +49,7 @@ matrix:
- swift test
env:
- JOB=SWIFTPM_DARWIN
- SWIFT_VERSION=4.2-DEVELOPMENT-SNAPSHOT-2018-05-08-a
- SWIFT_VERSION=4.2.1
- os: linux
language: generic
sudo: required
Expand All @@ -66,6 +74,6 @@ matrix:
- swift test
env:
- JOB=SWIFTPM_LINUX
- SWIFT_VERSION=4.2-DEVELOPMENT-SNAPSHOT-2018-05-08-a
- SWIFT_VERSION=4.2.1
notifications:
email: false