From 7b3c6540ec0c2cdd99af127ea1f41d5413a3510d Mon Sep 17 00:00:00 2001 From: Arian van Putten Date: Mon, 5 Oct 2015 00:00:35 +0200 Subject: [PATCH] Remove redundant build from .travis.yml file. The `build` in the `.travis.yml` file is redundant. `stack test` is just an alias for `stack build --test`. Also in the old way of doing things, `-Werror` is actually not set when running tests. So it is ignored for test files.. Now also test files need to have no warnings. --- .travis.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 890e8d7c..da7c7f71 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,8 +19,7 @@ install: script: - stack setup - - stack build --ghc-options "-Werror" - - stack test + - stack build --test --ghc-options "-Werror" cache: directories: