cryptol/.travis.yml
Aaron Tomb d16f70b956 Disable macOS builds on Travis for now
They're not really reproducible, given the use of Homebrew. Dependency
versions update suddenly, and always at the most inconvenient times.
2019-09-03 09:40:35 -07:00

46 lines
997 B
YAML

dist: trusty
sudo: false
language: c
cache:
directories:
- $HOME/.ghc
- $HOME/.cabal
matrix:
include:
- env: CABALVER="2.4" GHCVER="8.6.3"
compiler: ": #GHC 8.6.3"
addons: {apt: {packages: [cabal-install-2.4,ghc-8.6.3], sources: [hvr-ghc]}}
# - os: osx
# env: CABALVER="2.4" GHCVER="8.6.3"
# compiler: ": #GHC 8.6.3"
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
- if [[ $TRAVIS_OS_NAME == 'osx' ]];
then
brew update;
brew install ghc cabal-install z3;
export PATH=$HOME/.cabal/bin:$PATH;
fi
- env
script:
- cp cabal.GHC86.config cabal.project.freeze
- cabal update
- bash cry build
- bash cry test
notifications:
email: false