diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 0000000..7aa6c23
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,37 @@
+# This workflow will build a Java project with Maven
+# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
+
+name: build
+
+on:
+ push:
+ branches: [ master, /\d\.0\.0-RC/ ]
+ pull_request:
+ branches: [ master, /\d\.0\.0-RC/ ]
+
+jobs:
+ build-test-coverage:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up JDK 11
+ uses: actions/setup-java@v2
+ with:
+ java-version: '11'
+ distribution: 'adopt'
+ - uses: actions/cache@v2
+ with:
+ path: ~/.m2
+ key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
+ restore-keys: ${{ runner.os }}-m2
+ - name: Run build steps and generate coverage report with Maven
+ run: |
+ mvn verify javadoc:javadoc jacoco:report -Pcoverage -B -V
+ - name: Upload coverage report to Codecov
+ uses: codecov/codecov-action@v1
+ with:
+ file: ./**/target/site/jacoco/jacoco.xml
+ name: codecov
+ fail_ci_if_error: true
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 6e98c07..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,15 +0,0 @@
-language: java
-# Skip the Travis Installation Phase (installation of dependencies: `mvn install -DskipTests=true`)
-install: true
-# Customized build command (default is only `mvn test`)
-script: mvn verify javadoc:javadoc coveralls:report -Pcoverage
-jdk:
- - openjdk11
-branches:
- only:
- - master
- - /\d\.0\.0-RC/
-# Cache Maven repo between Travis builds
-cache:
- directories:
- - '$HOME/.m2/repository'
diff --git a/README.md b/README.md
index 561d927..f76867c 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,5 @@
-# GoodData HTTP Client [](https://travis-ci.org/gooddata/gooddata-http-client) [](http://javadoc.io/doc/com.gooddata/gooddata-http-client) [](https://maven-badges.herokuapp.com/maven-central/com.gooddata/gooddata-http-client)
+# GoodData HTTP Client
+[](https://github.com/gooddata/gooddata-http-client/actions/workflows/build.yml) [](http://javadoc.io/doc/com.gooddata/gooddata-http-client) [](https://maven-badges.herokuapp.com/maven-central/com.gooddata/gooddata-http-client) [](https://search.maven.org/artifact/com.gooddata/gooddata-http-client)
GoodData HTTP Client is an extension of [Apache HTTP Client](http://hc.apache.org/httpcomponents-client-4.3.x/index.html) (former Jakarta Commons).
This specialized Java client transparently handles [GoodData authentication](https://help.gooddata.com/display/doc/API+Reference#/reference/authentication/log-in)
diff --git a/pom.xml b/pom.xml
index 883d056..b8bb4c3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -181,18 +181,6 @@
coverage
-
- org.eluder.coveralls
- coveralls-maven-plugin
- 4.3.0
-
-
- javax.xml.bind
- jaxb-api
- 2.3.1
-
-
-
org.jacoco
jacoco-maven-plugin