forked from cocoadialog/cocoadialog
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
47 lines (39 loc) · 1.71 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
38
39
40
41
42
43
44
45
46
47
os: osx
language: objective-c
osx_image: xcode11.3
xcode_workspace: cocoadialog.xcworkspace
xcode_sdk: macosx10.13
cache:
bundler: true
cocoapods: true
yarn: true
pip: true
directories:
- /Users/travis/Library/Caches/
env:
global:
- MAKEFLAGS="-j2"
before_install:
- export PATH="/usr/local/bin:$PATH" # Homebrew's bin path isn't top priority, make it so.
- export HOMEBREW_NO_EMOJI=1 HOMEBREW_BOOTSNAP=1 HOMEBREW_CURL_VERBOSE=1 HOMEBREW_VERBOSE=1 HOMEBREW_VERBOSE_USING_DOTS=1
- export GIT_CURL_VERBOSE=1 && env | sort | uniq
- which -a brew && brew update -v --auto-update # Ensure Homebrew is up to date.
install:
- brew install ca-certificates
- brew outdated xctool || brew upgrade xctool # Ensure xctool is up to date.
- if test ! -d /Users/travis/Library/Caches/Homebrew/downloads/; then mkdir -pv /Users/travis/Library/Caches/Homebrew/downloads/; fi
- brew upgrade -v --display-times node 2>/dev/null || brew install -v node # Upgrade or install to latest Node.js.
- /usr/local/bin/node -v && /usr/bin/env node -v && node -v # Verify they're all the same version.
- brew upgrade yarn 2>/dev/null || brew install yarn # Upgrade or install to latest yarn.
- gem install xcpretty --no-document --quiet
- gem install xcpretty-travis-formatter --no-document --quiet
- yarn
script:
- yarn travis
after_success:
- bash <(curl -s https://codecov.io/bash) -J '^cocoadialog$'
after_failure:
- if test -x "`which brew`"; then brew --help; else echo "No usable brew available!"; fi
notifications:
slack:
secure: G5I3v9A1PtH3pb2l4zE9fip3KsuToVt0UGl2tQ4H6MEdA3RN0ioHOkEXG/t7clM+zvcKd2yugTYZYySVYjo8YYOc90s5BpJGpJ4ASgp1xwnd/iQgtKhuouRSDib2Ys5LwB0lL8Qds+FcD33OHrQNH06VD5T3dwhlidTjUPONtxQ=