forked from applidium/OverlayContainer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
37 lines (31 loc) · 843 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
31
32
33
34
35
36
37
os: osx
osx_image: xcode10.2
language: swift
branches:
only:
- master
cache:
- bundler
podfile: Example/Podfile
env:
global:
- LANG=en_US.UTF-8
- LC_ALL=en_US.UTF-8
- DESTINATION="OS=12.2,name=iPhone XS"
- SCHEME="OverlayContainer"
- WORKSPACE="OverlayContainer.xcworkspace"
skip_cleanup: true
jobs:
include:
- stage: podspec
script:
- pod spec lint
- stage: Build
script:
- set -o pipefail && xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -destination "$DESTINATION" ONLY_ACTIVE_ARCH=NO | xcpretty
- stage: Tests
script:
- brew update
- brew outdated carthage || brew upgrade carthage
- carthage update
- set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace "$WORKSPACE" -scheme "$SCHEME" -destination "$DESTINATION" ONLY_ACTIVE_ARCH=NO | xcpretty