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.
This commit is contained in:
Arian van Putten 2015-10-05 00:00:35 +02:00
parent 52b58d0fe9
commit 7b3c6540ec

View file

@ -19,8 +19,7 @@ install:
script: script:
- stack setup - stack setup
- stack build --ghc-options "-Werror" - stack build --test --ghc-options "-Werror"
- stack test
cache: cache:
directories: directories: