Skip to content

Commit 4404c32

Browse files
committed
Adds travis.yml
1 parent d8e3b19 commit 4404c32

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

.swift-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
5.1

.travis.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
language: swift
2+
os: osx
3+
osx_image: xcode11.3
4+
branches:
5+
only:
6+
- master
7+
env:
8+
global:
9+
- PROJECT="IBKit.xcodeproj"
10+
- SCHEME="IBKit-Package"
11+
- IOS_SDK="iphonesimulator13.2"
12+
jobs:
13+
- SDK="$IOS_SDK" DESTINATION="platform=iOS Simulator,name=iPhone X,OS=13.2"
14+
15+
install:
16+
- eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/9f442512a46d7a2af7b850d65a7e9bd31edfb09b/swiftenv-install.sh)"
17+
18+
before_script:
19+
- swift package generate-xcodeproj
20+
21+
script:
22+
- swiftlint lint
23+
- xcodebuild clean build test
24+
-project "$PROJECT"
25+
-scheme "$SCHEME"
26+
-sdk "$SDK"
27+
-destination "$DESTINATION"
28+
-configuration Debug
29+
CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcpretty -c

0 commit comments

Comments
 (0)