Ignore -Wno-missing-home-modules in travis
commit822b853590974a8812d45dead7f06699f96d2d5f
authorOleg Grenrus <oleg.grenrus@iki.fi>
dateThu 14 Sep 2017, 13:57 (9 years ago)
parent24af338
.travis.yml+2−1
@@ -23,7 +23,8 @@ install:
2323 - (cd $HOME/.local/bin && wget https://zalora-public.s3.amazonaws.com/tinc && chmod +x tinc)
2424
2525script:
26− - if [ "$TRAVIS_EVENT_TYPE" = "cron" ] ; then ./scripts/ci-cron.sh ; else stack test --ghc-options=-Werror --no-terminal ; fi
26+ - if [ "$STACK_YAML" = "stack-ghc-8.2.1.yaml" ]; then HOMEMODULES="--ghc-options=-Wno-missing-home-modules"; fi
27+ - if [ "$TRAVIS_EVENT_TYPE" = "cron" ] ; then ./scripts/ci-cron.sh ; else stack test $HOMEMODULES --ghc-options=-Werror --no-terminal ; fi
2728
2829cache:
2930 directories: