-
Notifications
You must be signed in to change notification settings - Fork 305
/
.travis.yml
28 lines (24 loc) · 1.01 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
osx_image: xcode10
language: objective-c
env:
global:
- WORKSPACE="BulletinBoard.xcworkspace"
matrix:
- DESTINATION="platform=iOS Simulator,name=iPhone 6,OS=9.0" PLATFORM="iOS"
- DESTINATION="platform=iOS Simulator,name=iPhone 6,OS=11.0" PLATFORM="iOS"
before_install:
- brew update
- brew outdated carthage || brew upgrade carthage
- gem install xcpretty
before_script:
- open -b com.apple.iphonesimulator
script:
- xcodebuild -workspace "$WORKSPACE" -list
# Build Framework
- set -o pipefail && xcodebuild clean build -workspace "$WORKSPACE" -scheme "BLTNBoard" -destination "$DESTINATION" | xcpretty
# Build Demo Project
- set -o pipefail && xcodebuild clean build -workspace "$WORKSPACE" -scheme "BB-Swift" -destination "$DESTINATION" | xcpretty
- set -o pipefail && xcodebuild clean build -workspace "$WORKSPACE" -scheme "BB-ObjC" -destination "$DESTINATION" | xcpretty
# Build Project with Package Managers
- carthage build --platform $PLATFORM --no-skip-current
- pod lib lint