Travis CI

This commit is contained in:
Zachary Snow 2019-03-27 02:10:11 -04:00
parent 713fb8a658
commit a646a85867
1 changed files with 27 additions and 0 deletions

27
.travis.yml Normal file
View File

@ -0,0 +1,27 @@
# base on: https://raw.githubusercontent.com/commercialhaskell/stack/stable/doc/travis-simple.yml
dist: xenial
language: generic
cache:
directories:
- $HOME/.stack
addons:
apt:
packages:
- libgmp-dev
- shunit2
- iverilog
before_install:
- mkdir -p ~/.local/bin
- export PATH=$HOME/.local/bin:$PATH
- travis_retry curl -L https://get.haskellstack.org/stable/linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
install:
make
script:
make test