summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-07-17 03:36:27 +0100
committerjao <jao@gnu.org>2022-07-18 00:36:47 +0100
commitd026a3cb52d29634d0607acc0d784badf4024e62 (patch)
tree4b624f5697079124068bac07dced2ef18366bfd7
parent172ad8777b69cbce000a2d87ca7813aacad4fc40 (diff)
downloadxmobar-d026a3cb52d29634d0607acc0d784badf4024e62.tar.gz
xmobar-d026a3cb52d29634d0607acc0d784badf4024e62.tar.bz2
.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