summaryrefslogtreecommitdiffhomepage
path: root/.drone.yml
diff options
context:
space:
mode:
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml
new file mode 100644
index 0000000..8c4adb0
--- /dev/null
+++ b/.drone.yml
@@ -0,0 +1,19 @@
+matrix:
+ GHC_VERSION:
+ - 9
+ - 8
+
+pipeline:
+ test:
+ image: haskell:${GHC_VERSION}
+ commands:
+ - apt-get update
+ - apt-get install -y xorg-dev
+ - apt-get install -y libasound2-dev libxpm-dev libmpd-dev libxrandr-dev
+ - apt-get install -y hspec-discover hlint
+
+ - hlint src
+
+ - cabal update
+ - cabal build --enable-tests -fall_extensions
+ - cabal test --enable-tests -fall_extensions