[commit: packages/directory] master: Test on Travis with threading enabled (422d799)

git at git.haskell.org git at git.haskell.org
Fri Dec 18 09:52:38 UTC 2015


Repository : ssh://git@git.haskell.org/directory

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/422d79948e0b4fe2c1b615a80f4ba5beb8eefbad/directory

>---------------------------------------------------------------

commit 422d79948e0b4fe2c1b615a80f4ba5beb8eefbad
Author: Phil Ruffwind <rf at rufflewind.com>
Date:   Tue Sep 1 18:30:30 2015 -0400

    Test on Travis with threading enabled
    
    (Also, as it turns out --test-option wasn't being used correctly.)


>---------------------------------------------------------------

422d79948e0b4fe2c1b615a80f4ba5beb8eefbad
 .travis.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index df901c4..80d66f1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -61,10 +61,10 @@ before_script:
 
 script:
  - autoreconf -i
- - cabal configure -v2 --enable-tests
+ - cabal configure -v2 --enable-tests --ghc-options=-threaded
  - cabal build
  - cabal check
  - cabal sdist
- - cabal test --show-details=$streaming --test-option="+RTS -N2"
+ - cabal test --show-details=$streaming --test-option=+RTS --test-option=-N2
  - eval "$def_cabal_install_run_tests" &&
    cabal_install_run_tests --force-reinstalls dist/*-*.tar.gz



More information about the ghc-commits mailing list