-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
32 lines (24 loc) · 773 Bytes
/
.travis.yml
File metadata and controls
32 lines (24 loc) · 773 Bytes
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
language: swift
osx_image: xcode10.1
xcode_destination: platform=macOS
cache:
- bundler
- cocoapods
podfile: Example/podfile
env:
global:
- LANG=en_US.UTF-8
- LC_ALL=en_US.UTF-8
- XCODE_WORKSPACE=Example/VNTableViewDemo.xcworkspace
matrix:
- SCHEME="VNTableViewDemo"
before_install:
- gem install xcpretty --no-rdoc --no-ri --no-document --quiet
- gem install cocoapods --pre --no-rdoc --no-ri --no-document --quiet
- pod install --project-directory=Example
script:
- set -o pipefail
- xcodebuild -workspace "$XCODE_WORKSPACE" -scheme "$SCHEME" -configuration Debug clean build | xcpretty -c
- xcodebuild -workspace "$XCODE_WORKSPACE" -scheme "$SCHEME" -configuration Release clean build | xcpretty -c
notifications:
slack: $SLACK_CHANNEL