All Downloads are FREE. Search and download functionalities are using the official Maven repository.

archetype-resources..travis.yml Maven / Gradle / Ivy

# Travis CI Configuration file
# @link https://travis-ci.org/

# Using Java for the project
language: java
jdk:
  # JDK 8 is set to deploy the docs and artifacts
  - oraclejdk8
env:
  - SERVER=jetty DATABASE=h2 DEPLOY_DOCS=true
  - SERVER=jetty DATABASE=mysql
  - SERVER=tomcat7 DATABASE=h2
  - SERVER=tomcat7 DATABASE=mysql
dist: precise

before_install:
  # Gets scripts
  - git clone -b v1.0.0 --single-branch https://github.com/Bernardo-MG/ci-shell-scripts.git ~/.scripts
  # Sets scripts as executable
  - chmod -R +x ~/.scripts/*
  - chmod +x ./.scripts/create-test-databases.sh
  # Prepares CI environment
  - source ~/.scripts/travis/load-travis-environment.sh
before_script:
  # Creates Maven settings
  - ~/.scripts/java/maven/create-maven-settings.sh $VERSION_TYPE
  # Creates test databases
  - ./.scripts/create-test-databases.sh
script:
  # Unit and integration tests are run
  - mvn clean verify -P $DATABASE,$SERVER
after_success:
  # Documentation deployment script
  - ~/.scripts/java/maven/deploy-site.sh $DO_DEPLOY_DOCS deployment,$SERVER




© 2015 - 2024 Weber Informatics LLC | Privacy Policy