Skip to content

Commit 946d5bf

Browse files
authored
Merge pull request #16 from arcondello/blackduck
WIP: Add black duck to circle-ci
2 parents 2316980 + cafea9e commit 946d5bf

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.circleci/config.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,34 @@ jobs:
164164
. env/bin/activate
165165
twine upload dist/*
166166
167+
black-duck:
168+
docker:
169+
- image: circleci/openjdk:8-jdk-browsers
170+
environment:
171+
PYTHON: 3.7.0
172+
173+
working_directory: ~/repo
174+
175+
steps:
176+
- checkout
177+
178+
- run:
179+
name: install pip
180+
command: |
181+
sudo apt-get install python-pip python-dev build-essential
182+
183+
- run:
184+
name: install package
185+
command: |
186+
pip install .
187+
188+
- run:
189+
name: install and run hub-detect
190+
command: |
191+
bash <(curl -s https://blackducksoftware.github.io/hub-detect/hub-detect.sh) --blackduck.url=$BLACKDUCK_URL --blackduck.api.token=$BLACKDUCK_TOKEN --detect.code.location.name=dwave-ocean-sdk-circleci
192+
193+
194+
167195
workflows:
168196
version: 2
169197

@@ -208,3 +236,4 @@ workflows:
208236
- test-osx-3.5
209237
- test-osx-3.4
210238
- test-osx-2.7
239+
- black-duck

0 commit comments

Comments
 (0)