misp-docker/.travis.yml

17 lines
518 B
YAML
Raw Normal View History

2019-05-01 13:57:06 +02:00
language: minimal
2019-05-01 13:46:35 +02:00
env:
2019-05-01 14:03:48 +02:00
- DOCKER_COMPOSE_VERSION=1.24.0
2019-05-01 13:46:35 +02:00
before_install:
- sudo rm /usr/local/bin/docker-compose
2019-05-01 14:03:48 +02:00
- curl -L -o ~/docker-compose https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m`
2019-05-01 13:57:06 +02:00
- sudo mv ~/docker-compose /usr/local/bin
- sudo chmod +x /usr/local/bin/docker-compose
2019-05-01 14:03:48 +02:00
- bash -c "[ -f .travis.yml ] || echo 'Could not find docker-compose'"
2019-05-01 13:46:35 +02:00
script:
- docker-compose build
- docker-compose -f docker-compose-nginx.yml build