From 74546a94543cdb2d512ef44041bd243258666978 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 4 Jun 2017 21:19:07 +0200 Subject: Add circle.yml for CircleCI test. --- circle.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 circle.yml diff --git a/circle.yml b/circle.yml new file mode 100644 index 000000000..e9eb3db14 --- /dev/null +++ b/circle.yml @@ -0,0 +1,13 @@ +dependencies: + cache_directories: + - "~/.stack" + pre: + - wget -q -O- https://s3.amazonaws.com/download.fpcomplete.com/ubuntu/fpco.key | sudo apt-key add - + - echo 'deb http://download.fpcomplete.com/ubuntu/precise stable main'|sudo tee /etc/apt/sources.list.d/fpco.list + - sudo apt-get update && sudo apt-get install stack -y + override: + - stack setup + - stack build --test --only-dependencies +test: + override: + - stack test -- cgit v1.2.3