Skip to content

Commit d6a22e6

Browse files
committed
cabal newstyle is buggy
1 parent 7c8c718 commit d6a22e6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ matrix:
5252
- env: CABALVER=1.24 GHCVER=8.0.1 HAPPYVER=1.19.5 CABAL=cabal
5353
compiler: ": #GHC 8.0.1"
5454
addons: {apt: {packages: [cabal-install-1.24,ghc-8.0.1,happy-1.19.5], sources: [hvr-ghc]}}
55-
- env: CABALVER=2.0 GHCVER=8.2.2 HAPPYVER=1.19.5 CABAL=/opt/cabal/bin/cabal-2.0 CABALPROCESS=new-
55+
- env: CABALVER=2.0 GHCVER=8.2.2 HAPPYVER=1.19.5 CABAL=/opt/cabal/bin/cabal-2.0
5656
compiler: ": #GHC 8.2.2"
5757
addons: {apt: {packages: [cabal-install-2.0,ghc-8.2.2,happy-1.19.5], sources: [hvr-ghc]}}
5858

@@ -100,9 +100,9 @@ install:
100100
# any command which exits with a non-zero exit code causes the build to fail.
101101
script:
102102
- if [ -f configure.ac ]; then autoreconf -i; fi
103-
- $CABAL ${CABALPROCESS}configure --enable-tests --enable-benchmarks -v2 # -v2 provides useful information for debugging
104-
- $CABAL ${CABALPROCESS}build # this builds all libraries and executables (including tests/benchmarks)
105-
- $CABAL ${CABALPROCESS}test
103+
- $CABAL configure --enable-tests --enable-benchmarks -v2 # -v2 provides useful information for debugging
104+
- $CABAL build # this builds all libraries and executables (including tests/benchmarks)
105+
- $CABAL test
106106
- $CABAL check
107107
- $CABAL sdist # tests that a source-distribution can be generated
108108

0 commit comments

Comments
 (0)