Commit e65fe1f2 authored by Mikhail Glushenkov's avatar Mikhail Glushenkov Committed by Edward Z. Yang
Browse files

Don't use './Setup' for building 'cabal-install'.

parent 40d6f0af
......@@ -69,17 +69,14 @@ script:
- cd ../cabal-install
- ../Cabal/misc/gen-extra-source-files.sh cabal-install.cabal
- ../Cabal/misc/travis-diff-files.sh
- mkdir -p ./dist/setup
- cp Setup.hs ./dist/setup/setup.hs
- ghc --make -odir ./dist/setup -hidir ./dist/setup -i -i. ./dist/setup/setup.hs -o ./dist/setup/setup -Wall -Werror -threaded # the command cabal-install would use to build setup
- cabal install happy
- cabal install --only-dependencies --enable-tests --enable-benchmarks
- ./dist/setup/setup configure --user --ghc-option=-Werror --enable-tests --enable-benchmarks -v2 # -v2 provides useful information for debugging
- ./dist/setup/setup build
- ./dist/setup/setup haddock # see https://github.com/haskell/cabal/issues/2198
- ./dist/setup/setup test unit-tests --show-details=streaming --test-option=--hide-successes
- ./dist/setup/setup test integration-tests --show-details=streaming --test-option=--hide-successes
- cabal configure --user --ghc-option=-Werror --enable-tests --enable-benchmarks -v2 # -v2 provides useful information for debugging
- cabal build
- cabal haddock # see https://github.com/haskell/cabal/issues/2198
- cabal test unit-tests --show-details=streaming --test-option=--hide-successes
- cabal test integration-tests --show-details=streaming --test-option=--hide-successes
- cabal check
- ./dist/setup/setup sdist
- install_from_tarball
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment