Skip to content

Commit

Permalink
HV-1064 Add Travis support
Browse files Browse the repository at this point in the history
  • Loading branch information
gsmet authored and gunnarmorling committed Jun 2, 2016
1 parent ef9e0ab commit ce9c087
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .travis.yml
@@ -0,0 +1,27 @@
sudo: required
dist: trusty
language: java
jdk:
- oraclejdk8
addons:
apt:
packages:
- oracle-java8-installer
# might be useful to push reports to an S3 bucket
# artifacts:
# paths:
# - $(find $HOME -name surefire-reports | tr "\n" ":")
# - $(find $HOME -name failsafe-reports | tr "\n" ":")
# s3_region: 'us-west-2'
cache:
directories:
- $HOME/.m2
install:
# The Maven install provided by Travis is outdated, use Maven wrapper to get the latest version
- mvn -N io.takari:maven:wrapper
- ./mvnw -v
# first run to download all the Maven dependencies without logging
- travis_wait ./mvnw -B -q -DskipTests=true install
before_script:
script:
- ./mvnw clean verify
6 changes: 6 additions & 0 deletions README.md
Expand Up @@ -80,6 +80,12 @@ You will also need a JDK 8 and Maven 3 (>= 3.0.3). With these prerequisites in p

There are more build options available as well. For more information refer to [Contributing to Hibernate Validator](http://hibernate.org/validator/contribute/).

## Continuous Integration

The [official Continuous Integration service for the project](https://hibernate-validator.ci.cloudbees.com/) is hosted at CloudBees.

We provide a `.travis.yml` file so that you can enable CI for your GitHub fork by enabling the build in [your Travis CI account](https://travis-ci.org/).

## Hibernate Validator URLs

* [Home Page](http://hibernate.org/validator/)
Expand Down

0 comments on commit ce9c087

Please sign in to comment.