Skip to content

Commit 52da586

Browse files
authored
Use travis homebrew addon to install necessary packages
Instructions can also be found in the documentation: https://docs.travis-ci.com/user/installing-dependencies/#installing-packages-on-macos
1 parent abbc3c7 commit 52da586

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.travis.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,16 @@ matrix:
1919
allow_failures:
2020
- perl: "blead"
2121

22+
addons:
23+
homebrew:
24+
packages:
25+
- perl
26+
- shellcheck
27+
- cpanminus
28+
2229
before_install:
2330
- git clone --depth 1 https://github.com/sstephenson/bats.git
2431
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
25-
brew update;
26-
brew install shellcheck perl cpanminus;
2732
mkdir -p ~/perl5;
2833
fi
2934
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then

0 commit comments

Comments
 (0)