mirror of
https://github.com/ilyakooo0/squeal.git
synced 2024-09-11 05:45:47 +03:00
circle 2.0
This commit is contained in:
parent
75c5433afc
commit
4973e5bc01
20
.circleci/config.yml
Normal file
20
.circleci/config.yml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
version: 2
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
docker:
|
||||||
|
- image: haskell:latest
|
||||||
|
- image: circleci/postgres:9.6
|
||||||
|
environment:
|
||||||
|
POSTGRES_DB: exampledb
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
- restore_cache:
|
||||||
|
keys:
|
||||||
|
- dependency-cache
|
||||||
|
- run: stack build
|
||||||
|
- run: stack test
|
||||||
|
- run: stack haddock
|
||||||
|
- save_cache:
|
||||||
|
key: dependency-cache
|
||||||
|
paths:
|
||||||
|
- ".stack-work"
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -17,3 +17,4 @@ cabal.sandbox.config
|
|||||||
*.eventlog
|
*.eventlog
|
||||||
.stack-work/
|
.stack-work/
|
||||||
cabal.project.local
|
cabal.project.local
|
||||||
|
.DS_Store
|
||||||
|
12
circle.yml
12
circle.yml
@ -1,12 +0,0 @@
|
|||||||
dependencies:
|
|
||||||
cache_directories:
|
|
||||||
- "~/.stack"
|
|
||||||
- ".stack-work"
|
|
||||||
override:
|
|
||||||
- stack upgrade
|
|
||||||
- stack update
|
|
||||||
- stack setup
|
|
||||||
- stack test --no-run-tests
|
|
||||||
test:
|
|
||||||
override:
|
|
||||||
- stack test
|
|
Loading…
Reference in New Issue
Block a user