motivation: setup for testing across different permutations of linux and java versions changes: * refactor docker file to allow dynamic versions of centos and java * add docker compose driver files for centos 6, 7 and java 1.8, 1.9, 1.10, 1.11 * update instructions
24 lines
478 B
YAML
24 lines
478 B
YAML
version: "3"
|
|
|
|
services:
|
|
|
|
runtime-setup:
|
|
image: netty:default
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.centos
|
|
|
|
common: &common
|
|
image: netty:default
|
|
depends_on: [runtime-setup]
|
|
volumes:
|
|
- ~/.ssh:/root/.ssh
|
|
- ~/.m2:/root/.m2
|
|
- ~/.gnupg:/root/.gnupg
|
|
- ..:/code
|
|
working_dir: /code
|
|
|
|
test:
|
|
<<: *common
|
|
command: /bin/bash -cl "./mvnw clean package -Dio.netty.testsuite.badHost=netty.io -DskipOsgiTestsuite=true"
|