forked from openpreserve/jhove
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- added JHOVE Slack channel Travis notifications; and - expanded binary extension list in `.gitattributes`.
- Loading branch information
1 parent
ad2c190
commit a276044
Showing
2 changed files
with
18 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,9 @@ | ||
# Prevent interpretation as text and end-of-line conversions. | ||
*.warc binary | ||
*.pdf binary | ||
*.gif binary | ||
*.jpg binary | ||
*.jp2 binary | ||
*.jpx binary | ||
*.tif binary | ||
*.wav binary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
language: java | ||
|
||
jdk: | ||
- oraclejdk7 | ||
- oraclejdk8 | ||
|
@@ -11,7 +10,7 @@ branches: | |
|
||
notifications: | ||
slack: | ||
secure: 2tPcqxi5BQkomyLYTDk90JrI5iqm9TL5Hc9SklPVemtEUQdDqeEejNjBGIOxQeXxe6Vza/cVEVp8emmb0GQ25k36DeI82kvxWu/dtaXC2B73dr0zFw3IV6VpG9nUcmgNiHrTYDlK5C3QYlkYKDSrAlrBRLA16qiSIe2JpPSClI4= | ||
secure: qAKVtBCrucCt8GB1SVjjCckwWqC6zAvXN7UdT+aFLH2u7vILT4jzLibTRAaTqqcBBnxFYE87qii4uaIbIltMRZYBQUyiz/mTabkQq5RHJKzzZq54qcKjrI7BSCJHoJErBYrNO4yECUgR6wkhF2/e0+OxEtuSxFovTGXN9ycMT0c= | ||
|
||
env: | ||
global: | ||
|
@@ -20,17 +19,18 @@ env: | |
addons: | ||
coverity_scan: | ||
project: | ||
name: "openpreserve/jhove" | ||
description: "File validation and characterisation" | ||
name: openpreserve/jhove | ||
description: File validation and characterisation | ||
notification_email: [email protected] | ||
build_command_prepend: "mvn clean" | ||
build_command: "mvn -DskipTests=true compile" | ||
build_command_prepend: mvn clean | ||
build_command: mvn -DskipTests=true compile | ||
branch_pattern: integration | ||
|
||
before_install: | ||
- sudo apt-get install -y realpath | ||
- sudo apt-get install jq | ||
- wget -O ~/codacy-coverage-reporter-assembly-latest.jar $(curl https://api.github.com/repos/codacy/codacy-coverage-reporter/releases/latest | jq -r .assets[0].browser_download_url) | ||
- wget -O ~/codacy-coverage-reporter-assembly-latest.jar $(curl https://api.github.com/repos/codacy/codacy-coverage-reporter/releases/latest | ||
| jq -r .assets[0].browser_download_url) | ||
|
||
script: | ||
- mvn clean install -DjacocoAgg | ||
|
@@ -39,7 +39,9 @@ script: | |
|
||
after_success: | ||
- bash <(curl -s https://codecov.io/bash) | ||
- java -cp ~/codacy-coverage-reporter-assembly-latest.jar com.codacy.CodacyCoverageReporter -l Java -r jhove-apps/target/site/jacoco-aggregate/jacoco.xml | ||
- java -cp ~/codacy-coverage-reporter-assembly-latest.jar com.codacy.CodacyCoverageReporter | ||
-l Java -r jhove-apps/target/site/jacoco-aggregate/jacoco.xml | ||
|
||
after_failure: | ||
- cat /tmp/bbt-logs/log.txt | grep --group-separator"===== Unexpected output =====" -n -B 1 -A 2 Expected | ||
- cat /tmp/bbt-logs/log.txt | grep --group-separator"===== Unexpected output =====" | ||
-n -B 1 -A 2 Expected |