forked from EFPrefix/EFCountingLabel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
30 lines (25 loc) · 904 Bytes
/
.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
29
30
language: objective-c
osx_image: xcode10.2
env: SWIFT_SNAPSHOT=5.0
cache: cocoapods
podfile: Example/Podfile
env:
global:
- LANG=en_US.UTF-8
- LC_ALL=en_US.UTF-8
- XCODE_WORKSPACE=Example/EFCountingLabel.xcworkspace
- DESTINATION="OS=12.0,name=iPhone XS"
matrix:
- SCHEME="EFCountingLabel-Example"
before_install:
- gem install xcpretty --no-document --quiet
- gem install cocoapods --pre --no-document --quiet
- pod install --project-directory=Example
script:
- set -o pipefail
- pod repo update
- xcodebuild -workspace "$XCODE_WORKSPACE" -scheme "$SCHEME" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO build | xcpretty -c;
- xcodebuild -workspace "$XCODE_WORKSPACE" -scheme "$SCHEME" -destination "$DESTINATION" -configuration Release ONLY_ACTIVE_ARCH=NO build | xcpretty -c;
- pod lib lint --allow-warnings
after_success:
- sleep 3