mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-14 11:03:09 +02:00
171a063590
* add workflow to generate docs * Update documentation.yaml * Update createDocu.sh * add caching * fix c&p error * Update documentation.yaml * Update documentation.yaml * remove docs build from travis * activate workflow for PRs
28 lines
916 B
YAML
28 lines
916 B
YAML
branches:
|
|
only:
|
|
- master
|
|
- /^it\/.*$/
|
|
language: groovy
|
|
jdk:
|
|
- openjdk8
|
|
sudo: required
|
|
services:
|
|
- docker
|
|
env:
|
|
global:
|
|
MAVEN_OPTS=-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
|
|
cache:
|
|
directories:
|
|
- $HOME/.m2
|
|
|
|
# Travis Lifecycle: https://docs.travis-ci.com/user/job-lifecycle#the-job-lifecycle
|
|
# Travis Stages: https://docs.travis-ci.com/user/build-stages/
|
|
# Travis Conditions: https://docs.travis-ci.com/user/conditional-builds-stages-jobs
|
|
# Travis GHPages deploy provider: https://docs.travis-ci.com/user/deployment/pages/
|
|
jobs:
|
|
include:
|
|
- stage: Tests
|
|
name: Consumer Tests
|
|
if: repo = "SAP/jenkins-library" && ( (type != pull_request && branch =~ /^master$|^it\/.*$/) || (type == pull_request && head_repo = "SAP/jenkins-library" && head_branch =~ /^it\/.*$/) )
|
|
script: cd consumer-test && groovy consumerTestController.groovy
|