Avoid duplicate redundant objects and use Singleton instead.
[httpcomponents-core.git] / .travis.yml
index bf7a0cf02b412dfb7f52cfc4ec831dbcb6935158..8a73aeee79dd63de56b77d2f8a97ba56c9ede9cb 100644 (file)
 # limitations under the License.
 
 language: java
-dist: trusty
 sudo: false
 
 services:
   - docker
 
-script: mvn verify -B -P docker
-
 jdk:
-  - oraclejdk8
+  - openjdk8
   - openjdk11
-  - oraclejdk11
+  - oraclejdk17
   - openjdk-ea
 
-matrix:
-  allow_failures:
-    - jdk: openjdk-ea
+addons:
+  apt:
+    packages:
+      - maven
+
+install: skip
+script: mvn verify -B -P docker
 
 jobs:
+  fast_finish: true
   include:
-    - jdk: openjdk7
+    - 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