mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-12-18 05:21:57 +03:00
Use cabal new-build
on Travis
This commit is contained in:
parent
b5ef48dcd7
commit
39766c1b2e
18
.travis.yml
18
.travis.yml
@ -3,13 +3,18 @@ sudo: false
|
||||
|
||||
language: c
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- $HOME/.ghc
|
||||
- $HOME/.cabal
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- env: CABALVER="1.24" GHCVER="8.2.1"
|
||||
- env: CABALVER="2.0" GHCVER="8.2.1"
|
||||
compiler: ": #GHC 8.2.1"
|
||||
addons: {apt: {packages: [cabal-install-1.24,ghc-8.2.1], sources: [hvr-ghc]}}
|
||||
addons: {apt: {packages: [cabal-install-2.0,ghc-8.2.1], sources: [hvr-ghc]}}
|
||||
- os: osx
|
||||
env: CABALVER="1.24" GHCVER="8.2.1"
|
||||
env: CABALVER="2.0" GHCVER="8.2.1"
|
||||
compiler: ": #GHC 8.2.1"
|
||||
|
||||
before_install:
|
||||
@ -31,12 +36,7 @@ before_install:
|
||||
|
||||
install:
|
||||
- cabal update
|
||||
- cabal sandbox init
|
||||
- cabal install Cabal
|
||||
- make
|
||||
|
||||
script:
|
||||
- make test DIFF=""
|
||||
- cabal new-build -j
|
||||
|
||||
notifications:
|
||||
email: false
|
||||
|
2
cabal.project
Normal file
2
cabal.project
Normal file
@ -0,0 +1,2 @@
|
||||
packages:
|
||||
cryptol.cabal
|
Loading…
Reference in New Issue
Block a user