forked from IBM/eventstreams-java-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
78 lines (69 loc) · 1.85 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
---
language: java
dist: xenial
jdk:
- openjdk8
notifications:
email: true
branches:
except:
- gh-pages
cache:
directories:
- "$HOME/.m2"
env:
global:
- MVN_ARGS="--settings build/.travis.settings.xml"
stages:
- name: Build-Test
# Uncomment these stages when you're ready to use them.
# - name: Semantic-Release
# if: branch = main AND type = push AND fork = false
# - name: Publish-Release
# if: tag IS present
before_install:
- sudo apt-get update
- env | grep TRAVIS
jobs:
include:
- stage: Build-Test
jdk: openjdk8
script:
- build/setMavenVersion.sh
- mvn verify -fae -DskipITs $MVN_ARGS
# Uncomment these stages when you're ready to use them.
# - stage: Semantic-Release
# install:
# - sudo apt-get install python
# - nvm install 12
# - npm install -g npm@6.x
# - pip install --user bump2version
# - npm install @semantic-release/changelog
# - npm install @semantic-release/exec
# - npm install @semantic-release/git
# - npm install @semantic-release/github
# script:
# - npx semantic-release
# after_success:
# - echo "Semantic release has successfully created a new tagged-release"
#
# - stage: Publish-Release
# jdk: openjdk8
# name: Publish-Javadoc
# install: true
# script:
# - build/setMavenVersion.sh
# - mvn clean javadoc:aggregate $MVN_ARGS
# - build/publishJavadoc.sh
# after_success:
# - echo "Javadocs successfully published to gh-pages!"
#
# - jdk: openjdk8
# name: Publish-To-Maven-Central
# install: true
# script:
# - build/setupSigning.sh
# - build/setMavenVersion.sh
# - mvn deploy $MVN_ARGS -DskipTests -P central
# after_success:
# - echo "Maven artifacts successfully published to Maven Central!"