Travis CI
CLARIN uses Travis CI for continuous integration tasks for some of the GitHub hosted code projects.
See travis-ci.org/clarin-eric for an up-to-date status overview.
Nexus deployment
A 'travis' user has been added to the user store of our Nexus instance for the deployment of Maven artifacts (snapshot or production). The password can be requested from sysops@clarin.eu.
Example
An example of the usage of Travis for Maven artifact deployments can be found in the base_style project:
Two environment variables NEXUS_DEPLOY_USERNAME
and NEXUS_DEPLOY_PASSWORD
are set in the settings (requires authorisation). These are referenced in a custom Maven settings file, which gets used when executing a deployment script triggered from the project's Travis configuration (notice the --settings
option).
Note: a deployment script will generally not be required except for special cases such as this project in which multiple artifacts with separate classifiers are built. In more standard cases a call to maven deploy [--settings ...]
should be sufficient.