Skip to content
This repository was archived by the owner on Jun 20, 2025. It is now read-only.

ci-cd using Travis CI #94

Merged
merged 1 commit into from
Sep 5, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/main/scripts/ci/before-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
echo Running $0
echo *-*-*-*-*-*-*-*-*-*-*-*-*-*

echo logging to docker image repository:
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin

# get latest version of codacy reporter from sonatype
latest=$(curl "https://oss.sonatype.org/service/local/repositories/releases/content/com/codacy/codacy-coverage-reporter/maven-metadata.xml" | xpath -e "/metadata/versioning/release/text()")

Expand Down
7 changes: 6 additions & 1 deletion travis-settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,14 @@
<username>${env.SONATYPE_USERNAME}</username>
<password>${env.SONATYPE_PASSWORD}</password>
</server>
<server>
<id>docker.io</id>
<username>${env.DOCKER_USERNAME}</username>
<password>${env.DOCKER_PASSWORD}</password>
</server>
</servers>
<activeProfiles>
<activeProfile>bintray</activeProfile>
<activeProfile>ossrh</activeProfile>
</activeProfiles>
</settings>
</settings>