From 822b853590974a8812d45dead7f06699f96d2d5f Mon Sep 17 00:00:00 2001 From: Oleg Grenrus Date: Thu, 14 Sep 2017 13:57:57 +0300 Subject: [PATCH] Ignore -Wno-missing-home-modules in travis --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 32c4b6ce..7ee29bef 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,7 +23,8 @@ install: - (cd $HOME/.local/bin && wget https://zalora-public.s3.amazonaws.com/tinc && chmod +x tinc) script: - - if [ "$TRAVIS_EVENT_TYPE" = "cron" ] ; then ./scripts/ci-cron.sh ; else stack test --ghc-options=-Werror --no-terminal ; fi + - if [ "$STACK_YAML" = "stack-ghc-8.2.1.yaml" ]; then HOMEMODULES="--ghc-options=-Wno-missing-home-modules"; fi + - if [ "$TRAVIS_EVENT_TYPE" = "cron" ] ; then ./scripts/ci-cron.sh ; else stack test $HOMEMODULES --ghc-options=-Werror --no-terminal ; fi cache: directories: