Fix chicken/egg with Lanyon install

This commit is contained in:
Kevin van Zonneveld 2017-02-14 15:12:04 +01:00
parent b280139595
commit b1861f9fab

View File

@ -18,12 +18,14 @@ addons:
- debian-sid
packages:
- shellcheck
install: npm install # <-- yarn still messes up nested bins: https://github.com/yarnpkg/yarn/issues/760
- bc
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
- 'if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$(bc <<< "${TRAVIS_NODE_VERSION} >= 6")" -eq 1 ]; then npm run install:lanyon; fi'
- bash --version
- awk --version
before_cache: