2017-07-05 19:58:04 +03:00
|
|
|
dist: trusty
|
|
|
|
sudo: false
|
|
|
|
|
|
|
|
language: c
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
2017-07-06 02:25:58 +03:00
|
|
|
- env: CABALVER="1.24" GHCVER="8.0.2"
|
2017-07-05 19:58:04 +03:00
|
|
|
compiler: ": #GHC 8.0.2"
|
|
|
|
addons: {apt: {packages: [cabal-install-1.24,ghc-8.0.2], sources: [hvr-ghc]}}
|
2017-07-05 20:27:08 +03:00
|
|
|
- os: osx
|
2017-07-06 02:25:58 +03:00
|
|
|
env: CABALVER="1.24" GHCVER="8.0.2"
|
2017-07-05 20:27:08 +03:00
|
|
|
compiler: ": #GHC 8.0.2"
|
2017-07-05 19:58:04 +03:00
|
|
|
|
|
|
|
before_install:
|
2017-07-05 20:27:08 +03:00
|
|
|
- if [[ $TRAVIS_OS_NAME == 'linux' ]];
|
|
|
|
then
|
2017-07-05 21:14:38 +03:00
|
|
|
export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$HOME/.cabal/bin:$PATH;
|
2017-07-08 01:09:40 +03:00
|
|
|
curl https://saw.galois.com/builds/z3/z3 > z3;
|
|
|
|
chmod +x z3;
|
2017-07-08 01:11:25 +03:00
|
|
|
mv z3 $HOME/.cabal/bin/z3;
|
|
|
|
z3 --version;
|
2017-07-05 20:27:08 +03:00
|
|
|
fi
|
|
|
|
- if [[ $TRAVIS_OS_NAME == 'osx' ]];
|
|
|
|
then
|
2017-07-08 01:09:40 +03:00
|
|
|
brew install ghc cabal-install z3;
|
2017-07-05 20:27:08 +03:00
|
|
|
export PATH=$HOME/.cabal/bin:$PATH;
|
|
|
|
fi
|
|
|
|
- env
|
2017-07-05 19:58:04 +03:00
|
|
|
|
2014-04-28 08:27:57 +04:00
|
|
|
install:
|
2017-07-05 20:18:08 +03:00
|
|
|
- cabal update
|
2014-04-28 08:33:38 +04:00
|
|
|
- cabal sandbox init
|
|
|
|
- cabal install Cabal
|
2014-04-28 08:27:57 +04:00
|
|
|
- make
|
2017-07-05 19:58:04 +03:00
|
|
|
|
2014-04-28 08:27:57 +04:00
|
|
|
script:
|
2017-07-06 02:25:58 +03:00
|
|
|
- make test DIFF=""
|
2017-07-05 19:58:04 +03:00
|
|
|
|
2014-04-28 08:54:18 +04:00
|
|
|
notifications:
|
2017-07-05 19:39:35 +03:00
|
|
|
email: false
|