Skip to content

Commit

Permalink
Fix travis build
Browse files Browse the repository at this point in the history
Remove upper bound restriction on random package in order
to fix travis build.
  • Loading branch information
qnikst committed Jan 15, 2015
1 parent 87309ac commit c89c244
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .travis.yml
Expand Up @@ -6,6 +6,11 @@ ghc:
- 7.4

before_install:
- cabal update
- cabal install Cabal
- cabal install cabal-install
- export PATH=~/.cabal/bin:$PATH
- cabal --version
- cabal sandbox init
- for i in `cat REPOS`; do git clone http://github.com/haskell-distributed/$i; done
- for i in `cat REPOS`; do cabal sandbox add-source $i; done
Expand All @@ -14,9 +19,9 @@ before_install:

install:
# Don't run tests for dependencies.
- cabal install --only-dependencies
- cabal install --only-dependencies distributed-process-tests
- cabal install --only-dependencies --allow-newer=random
- cabal install --only-dependencies distributed-process-tests --allow-newer=random

script:
- cabal install
- cabal install --enable-tests -j1 distributed-process-tests
- cabal install --enable-tests -j1 distributed-process-tests --allow-newer=random

0 comments on commit c89c244

Please sign in to comment.