Travis: Add code_quality_report.txt to every release. AppVeyor: fix log classification type.

This commit is contained in:
Nathanael Jones 2015-01-27 13:00:18 -05:00
Родитель 8e7408c1a7
Коммит af0443fd37
3 изменённых файлов: 7 добавлений и 5 удалений

1
.gitignore поставляемый
Просмотреть файл

@ -16,3 +16,4 @@ target/
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
/*.iml
/code_quality_report.txt

Просмотреть файл

@ -14,10 +14,12 @@ deploy:
provider: releases
api_key:
secure: qZtmVlKGoFdfKvSJNzn79M08KfZCatymHuhfXwn5ZdoDh5D3tqr5Z14e+uVo0DVWZuWT0RVBGFJCqL2w4xve7NNizd0Y5mkfkaZJDlyH3EPhG/EA8X/zU+28c3qk/AJnaWm0C99772C+YiFIsGu7KCC4URA0jmu5+XN9ND3mynA=
file: src/target/sharpen-jar-with-dependencies.jar
file:
- src/target/sharpen-jar-with-dependencies.jar
- code_quality_report.txt
on:
repo: imazen/sharpen
all_branches: true
tags: true
after_success:
- mvn install -q -Pqulice -DskipTests -DfinalName=sharpen || true
- mvn install -q -Pqulice -DskipTests -DfinalName=sharpen > code_quality_report.txt || true

Просмотреть файл

@ -21,14 +21,13 @@ build_script:
test_script:
- cmd: mvn -DfinalName=sharpen test -q
after_test:
- cmd: mvn install -q -Pqulice -DskipTests -DfinalName=sharpen > code_quality.txt || exit /B 0
- cmd: mvn install -q -Pqulice -DskipTests -DfinalName=sharpen > code_quality_report.txt || exit /B 0
artifacts:
- path: src\target\sharpen-jar-with-dependencies.jar
name: sharpen-with-dependencies
- path: code_quality.txt
- path: code_quality_report.txt
name: Code quality messages
type: zip
cache:
- C:\maven\
- C:\Users\appveyor\.m2