-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
37 lines (31 loc) · 1.01 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
os: osx
language: c
branches:
only:
- high-sierra
matrix:
include:
- osx_image: xcode10.1
env:
global:
- HOMEBREW_NO_ANALYTICS=1
- HOMEBREW_NO_AUTO_UPDATE=1
- MACOS=1
before_install:
- curl -fsSOL https://raw.githubusercontent.com/Homebrew/install/6f9b04355b11f6849fed761725a1f10cb326e979/uninstall
- sudo ruby uninstall --force
- rm uninstall
- hash -r
before_script:
- git config --global protocol.version 1
- echo | ruby -e "$(curl -fsSL https://raw.githubusercontent.com/autobrew/install/master/install)"
- HOMEBREW_TAP_DIR="$(brew --repo "$TRAVIS_REPO_SLUG")"
- mkdir -p "$HOMEBREW_TAP_DIR"
- rm -rf "$HOMEBREW_TAP_DIR"
- ln -s "$PWD" "$HOMEBREW_TAP_DIR"
- brew help # trigger vendored ruby installation
# - brew install v8 # just to test we are using autobrew bottles
script:
- echo "Building commit range $TRAVIS_COMMIT_RANGE"
- brew test-bot --local --skip-setup --skip-homebrew #--skip-revdeps
- 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then ./upload_bottles.sh; fi'