diff --git a/circle.yml b/circle.yml index 51a5ed7..f36ca00 100644 --- a/circle.yml +++ b/circle.yml @@ -39,7 +39,6 @@ jobs: docker build -f ci/Dockerfile.golang --tag analogj/capsulecd-build:golang . - run: name: Run Base Docker containers with coverage -# shell: bash command: | CAPSULECD_ENV=base echo "#################################################### $CAPSULECD_ENV" @@ -48,12 +47,9 @@ jobs: analogj/capsulecd-build:$CAPSULECD_ENV \ ./ci/coverage.sh $CAPSULECD_ENV - echo "exit code $?" - docker cp $CAPSULECD_ENV:/coverage/coverage-$CAPSULECD_ENV.txt /coverage - run: name: Run Chef Docker containers with coverage -# shell: bash command: | CAPSULECD_ENV=chef echo "#################################################### $CAPSULECD_ENV" @@ -62,12 +58,9 @@ jobs: analogj/capsulecd-build:$CAPSULECD_ENV \ ./ci/coverage.sh $CAPSULECD_ENV - echo "exit code $?" - docker cp $CAPSULECD_ENV:/coverage/coverage-$CAPSULECD_ENV.txt /coverage - run: name: Run Node Docker containers with coverage -# shell: bash command: | CAPSULECD_ENV=node echo "#################################################### $CAPSULECD_ENV" @@ -76,11 +69,9 @@ jobs: analogj/capsulecd-build:$CAPSULECD_ENV \ ./ci/coverage.sh $CAPSULECD_ENV - echo "exit code $?" docker cp $CAPSULECD_ENV:/coverage/coverage-$CAPSULECD_ENV.txt /coverage - run: name: Run Python Docker containers with coverage -# shell: bash command: | CAPSULECD_ENV=python echo "#################################################### $CAPSULECD_ENV" @@ -88,11 +79,10 @@ jobs: --name $CAPSULECD_ENV \ analogj/capsulecd-build:$CAPSULECD_ENV \ ./ci/coverage.sh $CAPSULECD_ENV - echo "exit code $?" + docker cp $CAPSULECD_ENV:/coverage/coverage-$CAPSULECD_ENV.txt /coverage - run: name: Run Ruby Docker containers with coverage -# shell: bash command: | CAPSULECD_ENV=ruby echo "#################################################### $CAPSULECD_ENV" @@ -100,11 +90,10 @@ jobs: --name $CAPSULECD_ENV \ analogj/capsulecd-build:$CAPSULECD_ENV \ ./ci/coverage.sh $CAPSULECD_ENV - echo "exit code $?" + docker cp $CAPSULECD_ENV:/coverage/coverage-$CAPSULECD_ENV.txt /coverage - run: name: Run Golang Docker containers with coverage -# shell: bash command: | CAPSULECD_ENV=golang echo "#################################################### $CAPSULECD_ENV" @@ -112,18 +101,16 @@ jobs: --name $CAPSULECD_ENV \ analogj/capsulecd-build:$CAPSULECD_ENV \ ./ci/coverage.sh $CAPSULECD_ENV - echo "exit code $?" + docker cp $CAPSULECD_ENV:/coverage/coverage-$CAPSULECD_ENV.txt /coverage - run: name: Merge coverage reports and submit -# shell: bash command: | ls -alt /coverage # upload to codecov. bash <(curl -s https://codecov.io/bash) -f "*.txt" -s /coverage - echo "exit code $?" when: always # - run: # name: Merge generated coverage reports using webhook.