mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-11-30 23:45:23 +03:00
44 lines
1.1 KiB
YAML
44 lines
1.1 KiB
YAML
dist: trusty
|
|
sudo: false
|
|
|
|
language: c
|
|
|
|
cache:
|
|
directories:
|
|
- $HOME/.ghc
|
|
- $HOME/.cabal
|
|
|
|
matrix:
|
|
include:
|
|
- env: CABALVER="3.0" GHCVER="8.4.4"
|
|
compiler: ": #GHC 8.4.4"
|
|
addons: {apt: {packages: [cabal-install-3.0,ghc-8.4.4], sources: [hvr-ghc]}}
|
|
- env: CABALVER="3.0" GHCVER="8.6.5"
|
|
compiler: ": #GHC 8.6.5"
|
|
addons: {apt: {packages: [cabal-install-3.0,ghc-8.6.5], sources: [hvr-ghc]}}
|
|
- env: CABALVER="3.0" GHCVER="8.8.1"
|
|
compiler: ": #GHC 8.8.1"
|
|
addons: {apt: {packages: [cabal-install-3.0,ghc-8.8.1], sources: [hvr-ghc]}}
|
|
|
|
before_install:
|
|
- if [[ $TRAVIS_OS_NAME == 'linux' ]];
|
|
then
|
|
mkdir -p $HOME/bin;
|
|
export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$HOME/bin:$HOME/.cabal/bin:$PATH;
|
|
curl https://saw.galois.com/builds/z3/z3 > z3;
|
|
chmod +x z3;
|
|
mv z3 $HOME/bin/z3;
|
|
z3 --version;
|
|
fi
|
|
- env
|
|
|
|
script:
|
|
- cp cabal.GHC-${GHCVER}.config cabal.project.freeze
|
|
- cabal update
|
|
- cabal v2-configure --allow-newer
|
|
- bash cry build
|
|
- bash cry test
|
|
|
|
notifications:
|
|
email: false
|