-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
38 lines (32 loc) · 856 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
30
31
32
33
34
35
36
37
38
language: ruby
sudo: true
matrix:
include:
- os: osx
osx_image: xcode10.1
rvm: system
fast_finish: true
cache:
directories:
- /usr/local/Homebrew/Library/Homebrew/vendor/bundle
- /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby
install:
- |
# Force strict error checking.
set -o errexit
set -o pipefail
# Switch to master branch.
export HOMEBREW_COLOR=1
export HOMEBREW_DEVELOPER=1
export HOMEBREW_NO_AUTO_UPDATE=1
brew update-reset
- |
# Mirror the repo as a tap.
TAP_DIR="$(brew --repository)/Library/Taps/${TRAVIS_REPO_SLUG}"
mkdir -p "${TAP_DIR}"
rsync -az --delete "${TRAVIS_BUILD_DIR}/" "${TAP_DIR}/"
export TRAVIS_BUILD_DIR="${TAP_DIR}"
builtin cd "${TRAVIS_BUILD_DIR}"
script: brew install -v rafaga/r2k/moltenvk
notifications:
email: false