brew/.travis.yml

34 lines
876 B
YAML
Raw Normal View History

2016-04-12 18:42:25 +08:00
language: ruby
bundler_args: --path Library/Homebrew/vendor --standalone --jobs 3
cache: bundler
2016-12-03 14:45:50 +00:00
matrix:
include:
- os: osx
osx_image: xcode8.3
2016-12-03 14:45:50 +00:00
rvm: system
- os: linux
rvm: 2.0.0
before_install:
- export GEM_HOME="$PWD/Library/Homebrew/vendor/ruby/2.0.0"
- gem list --installed bundler || gem install bundler
- export PATH="$GEM_HOME/bin:$PATH"
- export HOMEBREW_DEVELOPER=1
2016-12-03 14:45:50 +00:00
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then
HOMEBREW_REPOSITORY="$(brew --repo)";
sudo chown -R "$USER" "$HOMEBREW_REPOSITORY/Library/Taps";
mv "$HOMEBREW_REPOSITORY/Library/Taps" "$PWD/Library";
2016-12-03 14:45:50 +00:00
sudo rm -rf "$HOMEBREW_REPOSITORY";
sudo ln -s "$PWD" "$HOMEBREW_REPOSITORY";
2016-12-03 14:45:50 +00:00
else
export PATH="$PWD/bin:$PATH";
umask 022;
fi
script:
- brew test-bot
2017-04-24 16:49:05 +01:00
notifications:
slack: machomebrew:1XNF7p1JRCdBUuKaeSwsWEc1