Avoid duplicate redundant objects and use Singleton instead.
[httpcomponents-core.git] / .travis.yml
index 2116214a00a6d2541fc9cca6276b179a036f33bf..8a73aeee79dd63de56b77d2f8a97ba56c9ede9cb 100644 (file)
 # limitations under the License.
 
 language: java
-dist: trusty
 sudo: false
 
 services:
   - docker
 
 jdk:
-  - oraclejdk8
+  - openjdk8
   - openjdk11
-  - oraclejdk11
-  - oraclejdk16
+  - oraclejdk17
   - openjdk-ea
 
 addons:
@@ -36,9 +34,15 @@ 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
+
+cache:
+  directories:
+  - $HOME/.m2