Avoid duplicate redundant objects and use Singleton instead.
[httpcomponents-core.git] / .travis.yml
index 0ff322d855dacf0b5d737b9279ab56c5d39cb302..8a73aeee79dd63de56b77d2f8a97ba56c9ede9cb 100644 (file)
 # limitations under the License.
 
 language: java
-dist: trusty
 sudo: false
 
 services:
   - docker
 
 jdk:
-  - oraclejdk8
+  - openjdk8
   - openjdk11
-  - oraclejdk11
+  - oraclejdk17
   - openjdk-ea
 
 addons:
@@ -35,17 +34,15 @@ install: skip
 script: mvn verify -B -P docker
 
 jobs:
+  fast_finish: true
   include:
-    - name: amd64-jdk7
-      arch: amd64
-      jdk: openjdk7
-      script: mvn verify -B
     - 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