mirror of
https://github.com/ilyakooo0/haskell-generate.git
synced 2024-09-11 08:25:30 +03:00
24 lines
579 B
YAML
24 lines
579 B
YAML
env:
|
|
- GHCVER=7.4.2 CABALVER=1.16
|
|
- GHCVER=7.6.3 CABALVER=1.18
|
|
- GHCVER=head CABALVER=1.18
|
|
|
|
before_install:
|
|
- sudo add-apt-repository -y ppa:hvr/ghc
|
|
- sudo apt-get update
|
|
- sudo apt-get install cabal-install-$CABALVER ghc-$GHCVER hlint
|
|
- cabal-$CABALVER install happy -j
|
|
- export PATH=/opt/ghc/$GHCVER/bin:~/.cabal/bin:$PATH
|
|
|
|
install:
|
|
- cabal-$CABALVER update
|
|
- cabal-$CABALVER install --only-dependencies --enable-tests --enable-benchmarks -j
|
|
|
|
script:
|
|
- travis/script.sh
|
|
- hlint src
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- env: GHCVER=head CABALVER=1.18
|
|
fast_finish: true |