diff --git a/.travis.yml b/.travis.yml index a5ec89f..938cdc7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,18 +1,9 @@ -sudo: required - -env: - DOCKER_COMPOSE_VERSION: 1.7.1 - services: - docker -before_install: - - 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 - - docker-compose -v - - docker -v - +install: + - docker build -t hugo . + - docker run -d --name hugo hugo + script: - - docker-compose up -d - - docker-compose ps + - docker ps | grep -q hugo