From 9cb1ff18c3806f84ea833cc25c1337409a483a54 Mon Sep 17 00:00:00 2001 From: Tomas Bjerre Date: Sun, 21 Nov 2021 12:18:08 +0100 Subject: [PATCH] Add .circleci/config.yml --- .circleci/config.yml | 26 ++++++++++++++++++++++++ .travis.yml | 21 ------------------- README.md | 1 - build.gradle | 2 +- gradle/wrapper/gradle-wrapper.properties | 2 +- 5 files changed, 28 insertions(+), 24 deletions(-) create mode 100644 .circleci/config.yml delete mode 100644 .travis.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 00000000..889d4ae7 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,26 @@ +version: 2 +shared: &shared + steps: + - run: java -version + - checkout + - run: ./gradlew build +jobs: + jdk8: + docker: + - image: circleci/openjdk:8-jdk-stretch + <<: *shared + jdk11: + docker: + - image: circleci/openjdk:11-jdk-stretch + <<: *shared + jdk17: + docker: + - image: cimg/openjdk:17.0 + <<: *shared +workflows: + version: 2 + work: + jobs: + - jdk8 + - jdk11 +# - jdk17 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index ec3d262a..00000000 --- a/.travis.yml +++ /dev/null @@ -1,21 +0,0 @@ -sudo: false -language: java -env: - - secure: "f78upMWhPViLh2W9jLjkjikZgSJCd9LuJVZF227JFSLGV8+DC0YbHQi6pYmpejhTT9H1OTqXyQ5c16QEQzutx6O63iyWdvWtIHtuct66jWPUp1NL3EAlK9F4NdG/9sbdEcElgrQxEArjYB5w+UZ+1uJucc1oMqIWbWQ089tvdx1VYZYRdP3pdLOoqgAqi4/GOxj8vRO9lIY7kc9IhEDDAfzNrGV8/LKao9f1pEOI+XcVDMOovRcstkMJZ5kqAep7xZTURGScKE6dMm58IEPDQAfbbGxAaJTO1HiNhFt6u2n+Z/oXZS8zlD/mcTA2acE6Ip7AMplSrac3bkzhwULwVu1PeDhteS9cwhpwJ/B3dR5sDAA+U/4WkfDV5VyyWVn8Z7Jy5nzDyUrtZBiPCzUyKDEaKc0mlLjWJjGiboq3ACnn62CE+VWQz9J0vnjxrwwqLcZbAtPzbFn3myYNbrf2qHt7n9eL3l9c9mkzYCfC6hz1oqsa35cimL6NXzjbRPu8ruyZdDcOdPBlVcdQ/g8ZhTslo5SCi4yukGQ0NbdPF0bJ4JXmBT49KUGbPOrCqdzoe+or04uJ6KkbLsO+bSGtVcidMuUeeylhfUBMtZs8XBKB2o3WWpZKjCUlKDl/vfDmlP7G+1Bd6lR11F1Z5jmtPLBzKlURrAMPVSk4EwFLNeQ=" -jdk: - - openjdk8 - - openjdk11 -git: - depth: 9999999 -before_script: - - git fetch origin master:master - - git fetch origin test:test - - git fetch origin reverted-commits-test-branch:reverted-commits-test-branch - - git pull - - git log --graph --full-history --all --color --date=short --pretty=format:"%Cred%x09%h %Creset%ad%Cgreen%d %Creset %s %C(bold)(%an)%Creset" -script: - - ./gradlew build -DGITHUB_OAUTH2TOKEN=$GITHUB_OAUTH2TOKEN --stacktrace -i -after_script: - - find -name TEST* -exec cat {} \; -notifications: - email: false diff --git a/README.md b/README.md index d1c1c930..0eaa9336 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,5 @@ # Git Changelog Lib -[![Build Status](https://travis-ci.org/tomasbjerre/git-changelog-lib.svg?branch=master)](https://travis-ci.org/tomasbjerre/git-changelog-lib) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/se.bjurr.gitchangelog/git-changelog-lib/badge.svg)](https://maven-badges.herokuapp.com/maven-central/se.bjurr.gitchangelog/git-changelog-lib) This is a library that can: diff --git a/build.gradle b/build.gradle index bb228f97..cb6fc936 100644 --- a/build.gradle +++ b/build.gradle @@ -17,7 +17,7 @@ dependencies { implementation 'com.squareup.retrofit2:retrofit:2.0.0' implementation 'com.squareup.retrofit2:converter-gson:2.0.0' - implementation 'com.squareup.okhttp:okhttp:2.7.5' + //implementation 'com.squareup.okhttp:okhttp:2.7.5' implementation 'com.jayway.jsonpath:json-path:2.1.0' implementation 'org.eclipse.jgit:org.eclipse.jgit:5.10.0.202012080955-r' implementation 'org.gitlab:java-gitlab-api:4.1.0' diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 0f80bbf5..e750102e 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists