Skip to content

Commit

Permalink
Fix gh-pages
Browse files Browse the repository at this point in the history
* fix broken link to FindBugs report (now SpotBugs)
* no longer publish the *.pot file (that's now pushed to transifex.com)
  • Loading branch information
floscher committed Apr 28, 2018
1 parent c8f1ec0 commit 632223f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .travis/after_script
Expand Up @@ -19,14 +19,13 @@ if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_JDK_VERSION" == "openjdk8" ] &
git clone --depth=1 --branch=gh-pages "https://github.com/JOSM/Mapillary.git" "$pagesDir"
cd "$pagesDir"
git rm -r "*"
mkdir -p reports/ docs/ pot/
mkdir -p reports/ docs/
cp -TR $mainDir/gh-pages .
cp -R "$mainDir/build/docs/javadoc/" docs/javadoc/
cp -R "$mainDir/build/reports/tests/" reports/junit/
cp -R "$mainDir/build/reports/jacoco/" reports/jacoco/
cp -R "$mainDir/build/reports/spotbugs/" reports/spotbugs/
cp -R "$mainDir/build/reports/pmd/" reports/pmd/
cp -R "$mainDir/build/po/"*.pot pot/
git stage --all
git commit -m "Publish developer resources to GitHub pages
Expand Down
4 changes: 2 additions & 2 deletions gh-pages/index.html
Expand Up @@ -18,8 +18,8 @@ <h2>Developer resources</h2>
<li><a href=./docs/javadoc/index.html>Javadoc</a></li>
<li><a href=./reports/junit/test/index.html>JUnit test results</a></li>
<li><a href=./reports/jacoco/index.html>Code coverage</a></li>
<li><a href=./reports/findbugs/main.html>FindBugs report (for main code)</a></li>
<li><a href=./reports/findbugs/test.html>FindBugs report (for unit tests)</a></li>
<li><a href=./reports/spotbugs/main.html>SpotBugs report (for main code)</a></li>
<li><a href=./reports/spotbugs/test.html>SpotBugs report (for unit tests)</a></li>
<li><a href=./reports/pmd/main.html>PMD report (for main code)</a></li>
<li><a href=./reports/pmd/test.html>PMD report (for unit tests)</a></li>
</ul>
Expand Down

0 comments on commit 632223f

Please sign in to comment.