bash3boilerplate/.travis.yml
Kevin van Zonneveld 8e548e766e 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'.
2019-10-29 08:34:37 +01:00

48 lines
1.9 KiB
YAML

matrix:
include:
- os: linux
sudo: false
language: node_js
node_js: 6
- os: osx
language: node_js
node_js: 6
env:
global:
- SCROLEX_MODE=passthru
- secure: BeM6mpPEATdeFcAr/222QBZ9vRkZtU2WOi9QQy3mxsuDbWfM8RxYESIEJLipyhW9kXGoe6HGMqm4Kz9B/c4jrzeSXPpKnW7mIfnyqN+hhq1ctW9qPSqodu+fYNhdDxXh5wylml7hnIJzU70vFGrFknZRE2FYk5XvyHg2ImIKDJw=
- secure: RJ5UpdXms9QkraylZ11OBfmcRrmKnb254Yj0yCDAvZmg+n+3jSTwMgGvPY8Ih8X/R1JeW3VTtFDkJXXPnjjfpNg1M91u4CAEUOMPciCudYcoF6GKb8psnOzneTTX5M7zuJSzknGdpv/foldxiPYxiY5Hn5bfjmikhAEl+QX/R0Y=
- secure: BXf2buPt/DA09M5ZUdp/LpOWtUuz1mfCBopLyxvHv3Sl3ln+Az57wWsM2+Re+77lUOgihR2f6lXYfNUmQuSUo157rZPunQCqM/DJhK69KhREEB6SJDaJF3FVlnGla+Cwwb1IQUtMopqX9pBYD7w/zyWQFJCi20O57JEVIdfZZS8=
- secure: AaDI3OLTcwau2tu9jTtR0eHpylSUudYua9aKH3C540Lm2scQhQcT4IbMa6KXgrY+1UchapS9gUuClH8QwgJo61tJjtOqvmCgZ2EkmZg68pzw/25zwv7LSzYASbZvKahulV/giZdxFLGOpPhNhKbG70/owYXjKFENi5LoZKc8Y+c=
addons:
apt:
sources:
- debian-sid
install:
- npm install
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then npm run install:lanyon; fi
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 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
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then which bundle || gem install bundler; fi
- bash --version
- awk --version
before_cache:
- rm -f ./node_modules/.bin/which
cache:
apt: true
directories:
- .lanyon
script: test/acceptance.sh
deploy:
skip_cleanup: true
provider: script
script: ./node_modules/lanyon/scripts/ci-deploy.sh
on:
branch: master
condition: $TRAVIS_OS_NAME = linux