mirror of
https://github.com/kvz/bash3boilerplate.git
synced 2025-04-15 19:46:34 +00:00
Attempt fix for OS X CI build
This commit is contained in:
parent
d879ae1fe0
commit
7eea26c7b4
14
.travis.yml
14
.travis.yml
@ -18,14 +18,14 @@ addons:
|
||||
- debian-sid
|
||||
packages:
|
||||
- shellcheck
|
||||
install: npm install # <-- yarn still messes up nested bins: https://github.com/yarnpkg/yarn/issues/760
|
||||
before_install:
|
||||
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update; fi
|
||||
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then which gsed || brew install gnu-sed; fi
|
||||
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then which gtimeout || brew install coreutils;
|
||||
fi
|
||||
- bash --version
|
||||
- awk --version
|
||||
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update; fi
|
||||
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then which gsed || brew install gnu-sed; fi
|
||||
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then which gtimeout || brew install coreutils; fi
|
||||
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then which bundle || gem install bundler; fi
|
||||
- bash --version
|
||||
- awk --version
|
||||
install: npm install # <-- yarn still messes up nested bins: https://github.com/yarnpkg/yarn/issues/760
|
||||
before_cache:
|
||||
- rm -f ./node_modules/.bin/which # <-- workaround for https://github.com/travis-ci/travis-ci/issues/5092
|
||||
cache:
|
||||
|
Loading…
x
Reference in New Issue
Block a user