-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
37 lines (29 loc) · 1.02 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
29
30
31
32
33
34
35
36
37
language: objective-c
osx_image: xcode11
env:
global:
- LC_CTYPE=en_US.UTF-8
- LANG=en_US.UTF-8
addons:
homebrew:
packages:
- carthage
notifications:
email: false
before_install:
- env
- locale
- gem install xcpretty --no-document --quiet
- xcpretty --version
- xcodebuild -version
- xcodebuild -showsdks
- carthage update --verbose | xcpretty -c
script:
- set -o pipefail
- echo Build the framework
- xcodebuild clean build -scheme 'libavif' -sdk macosx -configuration Debug | xcpretty -c
- xcodebuild clean build -scheme 'libavif iOS' -sdk iphonesimulator PLATFORM_NAME=iphonesimulator -configuration Debug | xcpretty -c
- xcodebuild clean build -scheme 'libavif tvOS' -sdk appletvsimulator -configuration Debug | xcpretty -c
- xcodebuild clean build -scheme 'libavif watchOS' -sdk watchsimulator -configuration Debug | xcpretty -c
- echo Build the example app
- xcodebuild build -scheme 'libavifExample' -sdk macosx -configuration Debug | xcpretty -c