Avoid duplicate redundant objects and use Singleton instead.
[httpcomponents-core.git] / .travis.yml
index c1335bdefd8731ac6b6e7daea7c324eca17c446d..8a73aeee79dd63de56b77d2f8a97ba56c9ede9cb 100644 (file)
 language: java
 sudo: false
 
+services:
+  - docker
+
 jdk:
-  - openjdk7
-  - oraclejdk8
+  - openjdk8
+  - openjdk11
+  - oraclejdk17
+  - openjdk-ea
+
+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