forked from LaurentiuUngur/LUAutocompleteView
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
29 lines (26 loc) · 971 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
language: swift
osx_image: xcode10.2
env:
global:
- LC_CTYPE=en_US.UTF-8
- LANG=en_US.UTF-8
before_install:
- env
- locale
- gem install cocoapods --pre
- gem install xcpretty
- pod --version
- pod setup --silent
- pod repo update --silent
- xcpretty --version
- xcodebuild -version
- xcodebuild -showsdks
script:
- set -o pipefail
- echo Check if the library described by the podspec can be built
- pod lib lint
- echo Build the library
- xcodebuild clean build -workspace LUAutocompleteView.xcworkspace -scheme LUAutocompleteView -sdk iphonesimulator PLATFORM_NAME=iphonesimulator -configuration Debug | xcpretty -c
- echo Build the example
- pod install --project-directory=LUAutocompleteViewExample
- xcodebuild clean build -workspace LUAutocompleteView.xcworkspace -scheme LUAutocompleteViewExample -sdk iphonesimulator PLATFORM_NAME=iphonesimulator -configuration Debug | xcpretty -c