Skip to content

Commit

Permalink
Update Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
nikita-volkov committed Dec 15, 2014
1 parent bd9088d commit 2586b2a
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,20 @@ install:
-
if [ $lower_bound_dependencies -eq 1 ];
then
cabal install "transformers == 0.2.*";
cabal install "list-t == 0.2.*";
cabal install "QuickCheck == 2.6.*";
constraint_options=(
"--constraint=transformers==0.2.*"
"--constraint=list-t==0.2.*"
);
fi;
# Install the "haskell-src-exts" implicit dependency
- cabal install happy
- cabal install -j ${constraint_options[@]} happy
# Install the library dependencies
- cabal install -j ${constraint_options[@]} --only-dependencies
# Build the library
- cabal build
# Install the remaining dependencies
- cabal install --only-dependencies --enable-tests --enable-benchmarks --avoid-reinstalls
# Configure and build
- cabal install -j --only-dependencies --enable-tests --enable-benchmarks --force-reinstalls
# Configure and build the remaining stuff
- cabal configure --enable-tests --enable-benchmarks && cabal build

script:
Expand Down

0 comments on commit 2586b2a

Please sign in to comment.