-
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.
Merge remote-tracking branch 'origin/master' into apex-update
- Loading branch information
Showing
562 changed files
with
36,231 additions
and
9,078 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
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
source .travis/common-functions.sh | ||
|
||
VERSION=$(./mvnw -q -Dexec.executable="echo" -Dexec.args='${project.version}' --non-recursive org.codehaus.mojo:exec-maven-plugin:1.5.0:exec | tail -1) | ||
echo "Building PMD Coveralls.io report ${VERSION} on branch ${TRAVIS_BRANCH}" | ||
|
||
if ! travis_isPush; then | ||
echo "Not proceeding, since this is not a push!" | ||
exit 0 | ||
fi | ||
|
||
|
||
travis_wait ./mvnw -q clean test jacoco:report coveralls:report -Pcoveralls | ||
|
Empty file.
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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
source .travis/common-functions.sh | ||
|
||
VERSION=$(./mvnw -q -Dexec.executable="echo" -Dexec.args='${project.version}' --non-recursive org.codehaus.mojo:exec-maven-plugin:1.5.0:exec | tail -1) | ||
echo "Building PMD Documentation ${VERSION} on branch ${TRAVIS_BRANCH}" | ||
|
||
if ! travis_isPush; then | ||
echo "Not building site, since this is not a push!" | ||
exit 0 | ||
fi | ||
|
||
pushd docs | ||
|
||
# run jekyll | ||
echo -e "\n\nBuilding documentation using jekyll...\n\n" | ||
bundle install | ||
bundle exec jekyll build | ||
|
||
# create pmd-doc archive | ||
echo -e "\n\nCreating pmd-doc archive...\n\n" | ||
mv _site pmd-doc-${VERSION} | ||
zip -qr pmd-doc-${VERSION}.zip pmd-doc-${VERSION}/ | ||
|
||
|
||
# Uploading pmd doc distribution to sourceforge | ||
if [[ "$TRAVIS_TAG" != "" || "$VERSION" == *-SNAPSHOT ]]; then | ||
echo -e "\n\nUploading pmd-doc archive to sourceforge...\n\n" | ||
rsync -avh pmd-doc-${VERSION}.zip ${PMD_SF_USER}@web.sourceforge.net:/home/frs/project/pmd/pmd/${VERSION}/ | ||
fi | ||
|
||
# rsync site to pmd.sourceforge.net/snapshot | ||
if [[ "$VERSION" == *-SNAPSHOT && "$TRAVIS_BRANCH" == "master" ]]; then | ||
echo -e "\n\nUploading snapshot site...\n\n" | ||
travis_wait rsync -ah --stats --delete pmd-doc-${VERSION}/ ${PMD_SF_USER}@web.sourceforge.net:/home/project-web/pmd/htdocs/snapshot/ | ||
fi | ||
|
||
popd |
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
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
Empty file.
Empty file.
Empty file.
Empty file.
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
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
_site/ | ||
.sass-cache/ | ||
.jekyll-metadata | ||
_pdf | ||
.idea/ |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
title: "Page Not Found" | ||
search: exclude | ||
--- | ||
|
||
Sorry, but the page you were trying to view does not exist. Try searching for it or looking at the URL to see if it looks correct. |
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
FROM ruby:2.1 | ||
MAINTAINER mrafayaleem@gmail.com | ||
|
||
RUN apt-get clean \ | ||
&& mv /var/lib/apt/lists /var/lib/apt/lists.broke \ | ||
&& mkdir -p /var/lib/apt/lists/partial | ||
|
||
RUN apt-get update | ||
|
||
RUN apt-get install -y \ | ||
node \ | ||
python-pygments \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/ | ||
|
||
WORKDIR /tmp | ||
ADD Gemfile /tmp/ | ||
ADD Gemfile.lock /tmp/ | ||
RUN bundle install | ||
|
||
VOLUME /src | ||
EXPOSE 4000 | ||
|
||
WORKDIR /src | ||
ENTRYPOINT ["jekyll"] | ||
|
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
source "https://rubygems.org" | ||
|
||
gem 'github-pages', group: :jekyll_plugins | ||
gem 'wdm', '>= 0.1.0' if Gem.win_platform? |
Oops, something went wrong.