mirror of
https://gitee.com/mirrors/Spring-Cloud-Alibaba.git
synced 2021-06-26 13:25:11 +08:00
update cobertura settings
This commit is contained in:
parent
97063e5200
commit
e28d24ba4a
@ -24,20 +24,16 @@ jobs:
|
|||||||
- ~/.m2
|
- ~/.m2
|
||||||
- run:
|
- run:
|
||||||
name: "Running build"
|
name: "Running build"
|
||||||
command: ./mvnw -Pspring -Pdocs clean install -U -nsu --batch-mode -Dmaven.test.redirectTestOutputToFile=true -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
|
|
||||||
- run:
|
|
||||||
name: "look and install python"
|
|
||||||
command: |
|
command: |
|
||||||
python -V
|
./mvnw cobertura:cobertura
|
||||||
bash -c "yes | add-apt-repository ppa:jonathonf/python-3.6 && apt-get update && apt-get install -y python3.6"
|
./mvnw -Pspring -Pdocs clean install -U -nsu --batch-mode -Dmaven.test.redirectTestOutputToFile=true -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
|
||||||
python -V
|
|
||||||
- run:
|
- run:
|
||||||
name: "Aggregate test results"
|
name: "Aggregate test results"
|
||||||
when: always
|
when: always
|
||||||
command: |
|
command: |
|
||||||
mkdir -p ~/junit/
|
mkdir -p ~/junit/
|
||||||
find . -type f -regex ".*/target/.*-reports/.*" -exec cp {} ~/junit/ \;
|
find . -type f -regex ".*/target/.*-reports/.*" -exec cp {} ~/junit/ \;
|
||||||
bash <(curl -s https://codecov.io/bash) -t 8dc515f7-a691-4e29-9b68-6199cd3ca46d
|
bash <(curl -s https://codecov.io/bash)
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: ~/junit/
|
path: ~/junit/
|
||||||
destination: artifacts
|
destination: artifacts
|
||||||
|
Loading…
x
Reference in New Issue
Block a user