sudo: required

language: java

services:
  - docker

before_install:
- docker pull docker.pkg.github.com/hrchu/mogilefs-all-in-one-docker/mogilefs-all-in-one:v1.0.0
- docker run -e DOMAIN_NAME=testdomain -e CLASS_NAMES="testclass1 testclass2" -t -d -p 7001:7001 -p 7500:7500 --name maio docker.pkg.github.com/hrchu/mogilefs-all-in-one-docker/mogilefs-all-in-one:v1.0.0
- sleep 5

script:
- mvn verify

after_failure:
  - cat target/surefire-reports/*.txt

sudo: required

language: java

services:
  - docker

before_install:
- docker pull docker pull hrchu/mogilefs-all-in-one:version-1.1.5
- docker run -e DOMAIN_NAME=testdomain -e CLASS_NAMES="testclass1 testclass2" -t -d -p 7001:7001 -p 7500:7500 --name maio hrchu/mogilefs-all-in-one:version-1.1.5
- sleep 5

script:
- mvn verify

after_failure:
  - cat target/surefire-reports/*.txt

Use images from Docker Hub
Use images from Docker Hub

GitHub Package Registry needs authentication. Use Docker Hub instead.