Skip to content

Commit c63aa85

Browse files
committed
Bump build script
1 parent e695efb commit c63aa85

File tree

3 files changed

+47
-12
lines changed

3 files changed

+47
-12
lines changed

.travis.yml

Lines changed: 45 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,52 @@
1-
language: objective-c
2-
osx_image: xcode7.3
3-
script:
4-
- pod lib lint
5-
- set -o pipefail
6-
- xcodebuild test -scheme Swiftz -configuration Debug | xcpretty -c
7-
- xcodebuild test -scheme Swiftz-iOS -configuration Debug -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 6s" | xcpretty -c
8-
- xcodebuild test -scheme Swiftz-tvOS -destination 'platform=tvOS Simulator,name=Apple TV 1080p' | xcpretty -c
9-
- xcodebuild build -scheme Swiftz-watchOS -destination 'platform=watchOS Simulator,name=Apple Watch - 42mm' | xcpretty -c
10-
1+
env:
2+
global:
3+
- LC_CTYPE=en_US.UTF-8
4+
matrix:
5+
include:
6+
- os: osx
7+
language: objective-c
8+
osx_image: xcode7.3
9+
before_install:
10+
- git submodule update --init --recursive
11+
script:
12+
- pod lib lint
13+
- carthage build --no-skip-current
14+
- os: osx
15+
language: objective-c
16+
osx_image: xcode7.3
17+
before_install:
18+
- git submodule update --init --recursive
19+
script:
20+
- set -o pipefail
21+
- xcodebuild test -scheme Swiftz | xcpretty -c
22+
# !!!: Make sure desired device name & OS version are suitable for the Xcode version installed on osx_image
23+
- iOS_DEVICE_NAME="iPad Pro"
24+
- iOS_RUNTIME_VERSION="9.3"
25+
# Get simulator identifier for desired device/runtime pair
26+
- SIMULATOR_ID=$(xcrun instruments -s | grep -o "${iOS_DEVICE_NAME} (${iOS_RUNTIME_VERSION}) \[.*\]" | grep -o "\[.*\]" | sed "s/^\[\(.*\)\]$/\1/")
27+
- echo $SIMULATOR_ID
28+
- echo $iOS_DEVICE_NAME
29+
- echo $iOS_RUNTIME_VERSION
30+
- xcodebuild test -scheme Swiftz-iOS -destination "platform=iOS Simulator,name=${iOS_DEVICE_NAME},OS=${iOS_RUNTIME_VERSION}" | xcpretty -c
31+
- xcodebuild test -scheme Swiftz-tvOS -destination 'platform=tvOS Simulator,name=Apple TV 1080p' | xcpretty -c
32+
- os: linux
33+
language: generic
34+
sudo: required
35+
dist: trusty
36+
before_install:
37+
- git submodule update --init --recursive
38+
- wget -q -O - https://swift.org/keys/all-keys.asc | gpg --import -
39+
- wget https://swift.org/builds/swift-2.2.1-release/ubuntu1404/swift-2.2.1-RELEASE/swift-2.2.1-RELEASE-ubuntu14.04.tar.gz
40+
- tar xzf swift-2.2.1-RELEASE-ubuntu14.04.tar.gz
41+
- export PATH=${PWD}/swift-2.2.1-RELEASE-ubuntu14.04/usr/bin:"${PATH}"
42+
script:
43+
# Uncomment when releasing Swift 3.0
44+
# - swift build
1145
notifications:
1246
webhooks:
1347
urls:
1448
- https://webhooks.gitter.im/e/1d781e1bcbabade5de35
1549
on_success: always
1650
on_failure: always
1751
on_start: always
52+

Cartfile.private

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
github "typelift/Swiftx"
22
github "typelift/SwiftCheck"
3-
github "typelift/Operadics" "master"
3+
github "typelift/Operadics"
44

Cartfile.resolved

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
github "typelift/Operadics" "8117a84bb4111814c35af80285f3f9baff290d7e"
1+
github "typelift/Operadics" "0.2.0"
22
github "typelift/SwiftCheck" "v0.6.2"
33
github "typelift/Swiftx" "v0.4.0"

0 commit comments

Comments
 (0)