Skip to content

Commit

Permalink
fix circleci
Browse files Browse the repository at this point in the history
  • Loading branch information
blacktop committed Sep 2, 2018
1 parent 31a2c23 commit 5ad0e2d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,14 @@ jobs:
paths:
- /caches/app.tar
- run:
name: Run tests
name: Download sample
command: |
set -x
curl -L -o /tmp/sample https://github.com/maliceio/malice-av/raw/master/samples/befb88b89c2eb401900a68e9f5b78764203f2b48264fcc3f7121bf04a57fd408
docker run --init blacktop/httpie --follow https://github.com/maliceio/malice-av/raw/master/samples/befb88b89c2eb401900a68e9f5b78764203f2b48264fcc3f7121bf04a57fd408 > /tmp/sample
docker create -v /malware --name malvol alpine:3.8 /bin/true
docker cp /tmp/sample malvol:/malware
- run:
name: Run tests
command: |
set -x
docker run --rm --volumes-from malvol app -V sample | jq .
docker run --rm --volumes-from malvol app -t sample

0 comments on commit 5ad0e2d

Please sign in to comment.