Skip to content

Commit

Permalink
Setup azure-pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
mfussenegger committed Dec 9, 2018
1 parent d4bef3a commit 60fb607
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# fake-json

[![Build status](https://dev.azure.com/mfussenegger/fake-json/_apis/build/status/fake-json-CI?branchName=master)](https://dev.azure.com/mfussenegger/fake-json/_build/latest?definitionId=2)

`fake-json` is a CLI to generate random JSON records. If invoked it will
generate and print 1 JSON object per line until cancelled:

Expand Down
21 changes: 21 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
jobs:
- job: LinuxTest
pool:
vmImage: 'Ubuntu 16.04'
steps:
- script: curl -sSL https://get.haskellstack.org/ | sh
displayName: Install stack

- script: stack test
displayName: Run tests

- job: WindowsTest
pool:
vmImage: 'VS2017-Win2016'
steps:
- script: choco install haskell-stack
displayName: Install stack

- script: stack test
displayName: Run tests

0 comments on commit 60fb607

Please sign in to comment.