aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-06-04 21:19:07 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2017-06-04 21:19:07 +0200
commit74546a94543cdb2d512ef44041bd243258666978 (patch)
treeb359b2a4050cba5d953c610b3537e87b4696243d
parent0fd110b14ea9d6498642f1c9811aa420b982b4c6 (diff)
downloadpandoc-74546a94543cdb2d512ef44041bd243258666978.tar.gz
Add circle.yml for CircleCI test.
-rw-r--r--circle.yml13
1 files changed, 13 insertions, 0 deletions
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