Skip to content

Commit

Permalink
Set up CI with Azure Pipelines (#19)
Browse files Browse the repository at this point in the history
* Set up CI with Azure Pipelines
  • Loading branch information
erewok authored Jan 12, 2019
1 parent d570351 commit 59576ca
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml

trigger:
- master

pool:
vmImage: 'Ubuntu-16.04'

steps:
- script: |
mkdir -p ~/.local/bin
export PATH=$HOME/.local/bin:$PATH
curl -L https://get.haskellstack.org/stable/linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
displayName: 'download stack'

- script: |
~/.local/bin/stack --no-terminal --skip-ghc-check test
displayName: 'Run stack test'

0 comments on commit 59576ca

Please sign in to comment.