mirror of
https://github.com/kvz/bash3boilerplate.git
synced 2025-04-19 05:06:14 +00:00
Fix Cabal warnings on Travis
Warning: The install command is a part of the legacy v1 style of cabal usage. Please switch to using either the new project style and the new-install command or the legacy v1-install alias as new-style projects will become the default in the next version of cabal-install. Please file a bug if you cannot replicate a working v1- use case with the new-style commands. For more information, see: https://wiki.haskell.org/Cabal/NewBuild cabal: There is no package named 'shellcheck'. However, the following package name exists: 'ShellCheck'.
This commit is contained in:
parent
ea57d157c7
commit
8e548e766e
@ -24,7 +24,7 @@ install:
|
||||
before_install:
|
||||
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get install --allow-unauthenticated -y cabal-install; fi
|
||||
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then cabal update; fi
|
||||
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then cabal install shellcheck; fi
|
||||
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then cabal new-install ShellCheck; fi
|
||||
- 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user