Ethereum smart contract fuzzer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
echidna/.travis.yml

51 lines
1.3 KiB

# Adapted from https://github.com/ChrisPenner/haskell-stack-travis-ci
language: nix
sudo: true
cache:
directories:
- $HOME/.ghc
- $HOME/.cabal
- $HOME/.stack
- .stack-work
matrix:
fast_finish: true
include:
# Add build targets here
- env: GHCVER=8.2.1 CACHE_NAME=8.2.1 BUILD_BINARY=1
compiler: ": #stack 8.2.1"
addons: {apt: {packages: [ghc-8.2.1], sources: [hvr-ghc]}}
- env: GHCVER=8.2.1 CACHE_NAME=8.2.1-osx BUILD_BINARY=1
LDFLAGS=-L/usr/local/opt/readline/lib CFLAGS=-I/usr/local/opt/readline/include
os: osx
compiler: ": #stack 8.2.1"
addons: {apt: {packages: [ghc-8.2.1], sources: [hvr-ghc]}}
install:
- unset CC
- export PATH=$HOME/.local/bin:/opt/ghc/$GHCVER/bin:$PATH
- ./.travis/install-ghr.sh
- ./.travis/install-stack.sh
script:
- echo "$(ghc --version) [$(ghc --print-project-git-commit-id 2> /dev/null || echo '?')]"
- GHC_OPTIONS="-Werror"
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
stack install readline --extra-include-dirs=/usr/local/opt/readline/include
--extra-lib-dirs=/usr/local/opt/readline/lib;
fi
- |
set -ex
# Run tests
stack --no-terminal test --ghc-options="$GHC_OPTIONS"
set +ex
after_success:
- |
# Build and ship binary
./.travis/attach-binary.sh
notifications:
email: false