Avoid duplicate redundant objects and use Singleton instead.
[httpcomponents-core.git] / .travis.yml
index f1d4e4a44e0671f5ec5dc68e579dec4f21939aa5..8a73aeee79dd63de56b77d2f8a97ba56c9ede9cb 100644 (file)
 # limitations under the License.
 
 language: java
-dist: trusty
 sudo: false
 
+services:
+  - docker
+
 jdk:
-  - openjdk7
-  - oraclejdk8
+  - openjdk8
   - openjdk11
-  - oraclejdk11
+  - oraclejdk17
   - openjdk-ea
 
-matrix:
+addons:
+  apt:
+    packages:
+      - maven
+
+install: skip
+script: mvn verify -B -P docker
+
+jobs:
+  fast_finish: true
+  include:
+    - name: arm64
+      arch: arm64
+      jdk: openjdk11
+      script: mvn verify -B
   allow_failures:
     - jdk: openjdk-ea
 
-after_success:
-  - mvn clean cobertura:cobertura coveralls:report
+cache:
+  directories:
+  - $HOME/.m2