2020-07-23 21:26:53 +00:00
|
|
|
sudo: required
|
|
|
|
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- main
|
|
|
|
- test
|
|
|
|
- travis_docker_testing
|
|
|
|
|
2019-12-28 21:42:20 +00:00
|
|
|
env:
|
2020-07-23 21:26:53 +00:00
|
|
|
- DOCKER_COMPOSE_VERSION=1.4.2
|
2020-01-14 02:02:04 +00:00
|
|
|
|
2020-07-23 21:26:53 +00:00
|
|
|
before_install:
|
|
|
|
- sudo rm /usr/local/bin/docker-compose
|
|
|
|
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
|
|
|
|
- chmod +x docker-compose
|
|
|
|
- sudo mv docker-compose /usr/local/bin
|
|
|
|
- cd docker/federation-test
|
|
|
|
# install:
|
|
|
|
# - docker build -t hnakamur/example .
|
|
|
|
script:
|
|
|
|
- ./run-tests.sh
|