-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
27 lines (20 loc) · 858 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
language: objective-c
os: osx
osx_image: xcode10.2
xcode_workspace: Manage Conky.xcworkspace
xcode_scheme: Manage Conky
xcode_destination: platform=macOS
before_install:
- brew update # force a brew update because for some reason TravisCI likes not to update it.
# fix failure in linking newer python versions with conflicting files
- brew unlink python@2
- gem install cocoapods -v '1.7.2'
# install dependancies
- brew tap Conky-for-macOS/homebrew-formulae
- brew install --only-dependencies conky-all
- brew link gettext --force
- brew link --overwrite cairo-xlib --force
# setup xcode project
# - Tools/preheatProject.command
script:
- set -o pipefail && xcodebuild -workspace Manage\ Conky.xcworkspace -scheme Manage\ Conky -destination platform\=macOS build test CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcpretty