forked from HBPMedical/woken
/
config.yml
34 lines (33 loc) · 838 Bytes
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
version: 2
jobs:
build:
working_directory: ~/src
docker:
- image: hbpmip/docker-compose-for-ci:17.06-1
environment:
- CIRCLECI: true
steps:
- setup_remote_docker:
version: 17.06.0-ce
- checkout
- run:
name: "Install requirements"
command: |
docker --version
pre-commit install
- run:
name: "Validate code quality"
command: |
pre-commit run --all-files
- run:
name: "Build the project"
command: |
PATH=$PATH:/$HOME/.captain/bin/ ./build.sh
- run:
name: "Test the project"
command: |
PATH=$PATH:/$HOME/.captain/bin/ ./tests/test.sh
notify:
webhooks:
- url: 'https://webhook.atomist.com/atomist/circle'