-
Notifications
You must be signed in to change notification settings - Fork 38
/
circle.yml
23 lines (20 loc) · 969 Bytes
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
machine:
services:
- docker
dependencies:
override:
- docker build --rm=false -t docker/compliance-opencontrol .
- docker build --rm=false -t docker/compliance-nlputil nlp/nlputil
test:
override:
- docker run docker/compliance-opencontrol
- docker run -v "$(pwd)":/go/src/github.com/docker/compliance/nlptooling/nlputil -e TEXT_ANALYTICS_API_KEY --entrypoint '/bin/bash' docker/compliance-nlputil "./go.test.sh":
pwd: nlp/nlputil
- rm -rf exports/ opencontrols/:
pwd: examples/opencontrol/DockerEE-Moderate-ATO
- docker run -v "$(pwd)":/opencontrol -w /opencontrol opencontrolorg/compliance-masonry get:
pwd: examples/opencontrol/DockerEE-Moderate-ATO
- docker run -v "$(pwd)":/DockerEE-compliance -w /DockerEE-compliance -e TEXT_ANALYTICS_API_KEY docker/compliance-nlputil analyze keyphrases:
pwd: examples/opencontrol/DockerEE-Moderate-ATO
post:
- bash <(curl -s https://codecov.io/bash)