Skip to content

Commit 73c8f8b

Browse files
SDK update 20240129-124058
Signed-off-by: Christopher Edwards <Christopher.Edwards@ibm.com>
1 parent e991d84 commit 73c8f8b

10 files changed

Lines changed: 29 additions & 437 deletions

.bumpversion.cfg

Lines changed: 0 additions & 8 deletions
This file was deleted.

.releaserc

Lines changed: 0 additions & 24 deletions
This file was deleted.

.travis.yml

Lines changed: 29 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
11
---
22
language: java
3-
dist: focal
4-
group: focal
5-
version: ~> 1.0
3+
dist: bionic
64

75
jdk:
86
- openjdk11
97

10-
# Only run on main (still tests PRs)
11-
branches:
12-
only:
13-
- main
14-
158
notifications:
169
email: true
1710

@@ -25,7 +18,7 @@ cache:
2518

2619
env:
2720
global:
28-
- MVN_ARGS="--settings build/.travis.settings.xml"
21+
- MVN_ARGS="--settings ./build/.travis.settings.xml"
2922

3023
stages:
3124
- name: Build-Test
@@ -38,42 +31,44 @@ before_install:
3831
- sudo apt-get update
3932
- env | grep TRAVIS
4033
- pyenv global 3.8
41-
# create an .env file that is pulled in while executing the v2 integration tests
42-
- echo "CODE_ENGINE_URL=https://$CE_API_HOST/v2" > code_engine_v2.env
43-
- echo "CODE_ENGINE_AUTH_TYPE=iam" >> code_engine_v2.env
44-
- echo "CODE_ENGINE_APIKEY=$CE_API_KEY" >> code_engine_v2.env
45-
- echo "CODE_ENGINE_AUTH_URL=$IAM_ENDPOINT" >> code_engine_v2.env
46-
- echo "CODE_ENGINE_DOMAIN_MAPPING_NAME=api-unit-test-tls.e2e-board.info" >> code_engine_v2.env
4734

4835
jobs:
4936
include:
37+
# Build and test stage
5038
- stage: Build-Test
51-
- jdk: openjdk11
39+
jdk: openjdk11
5240
install: true
5341
script:
54-
# execute unit tests
5542
- build/setMavenVersion.sh
5643
- mvn verify -fae -DskipITs $MVN_ARGS
57-
44+
- jdk: openjdk11
45+
install: true
46+
script:
47+
- mvn verify -fae -DskipITs $MVN_ARGS
5848
- jdk: openjdk17
5949
install: true
6050
script:
61-
- ./scripts/get-dependencies.sh # get api repo for access to latest domain mapping cert
62-
# execute all tests including the integration tests
63-
- mvn verify -fae $MVN_ARGS
51+
- mvn verify -fae -DskipITs $MVN_ARGS
6452

65-
- stage: Semantic-Release
66-
if: type != pull_request AND branch = main AND tag IS blank
67-
install:
68-
- sudo apt-get install python
69-
- nvm install 20
70-
- npm install -g semantic-release
71-
- npm install -g @semantic-release/changelog
72-
- npm install -g @semantic-release/exec
73-
- npm install -g @semantic-release/git
74-
- npm install -g @semantic-release/github
75-
- pip install --user bump2version
53+
# Publish stage
54+
- stage: Publish-Release
55+
jdk: openjdk11
56+
name: Publish-Javadoc
57+
install: true
58+
if: tag IS present
7659
script:
77-
- semantic-release
60+
- build/setMavenVersion.sh
61+
- mvn clean javadoc:aggregate $MVN_ARGS
62+
- build/publishJavadoc.sh
7863
after_success:
79-
- echo "Semantic release has successfully created a new tagged-release"
64+
- echo "Javadocs successfully published to gh-pages!"
65+
# - jdk: openjdk11
66+
# if: tag IS present
67+
# name: Publish-To-Maven-Central
68+
# install: true
69+
# script:
70+
# - build/setupSigning.sh
71+
# - build/setMavenVersion.sh
72+
# - mvn deploy $MVN_ARGS -DskipTests -P central
73+
# after_success:
74+
# - echo "Maven artifacts successfully published to Maven Central!"

.travis_public.yml

Lines changed: 0 additions & 74 deletions
This file was deleted.

.whitesource

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)