git.iko.soy/typeable/stackage2nix
on master help sign in
Add initial Travis build
commit623024303d80f94fb64f76ceed5f01de5f2b19ee authorDmitry Bushev <bushevdv@gmail.com> dateThu 15 Jun 2017, 22:40 (9 years ago) parent76e0917
2 files changed+22
.travis.yml+20 README.md+2
.travis.ymlnew file+20
@@ -0,0 +1,20 @@
1+sudo: false
2+
3+addons:
4+ apt:
5+ packages:
6+ - libgmp-dev
7+
8+# Caching so the next build will be fast too.
9+cache:
10+ directories:
11+ - $HOME/.stack
12+
13+before_install:
14+# Download and unpack the stack executable
15+- mkdir -p ~/.local/bin
16+- export PATH=$HOME/.local/bin:$PATH
17+- travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
18+
19+script:
20+- stack --no-terminal --install-ghc test
README.md+2
@@ -1,3 +1,5 @@
11# stack2nix
22
3+[![Build Status](https://travis-ci.org/4e6/stack2nix.svg?branch=master)](https://travis-ci.org/4e6/stack2nix)
4+
35`stack2nix` converts a single Stack file into a Nix build expression.