From a32332d2f6f8631bbef307abcf22c86e8b73591c Mon Sep 17 00:00:00 2001 From: Ryan Date: Fri, 15 Sep 2017 22:38:36 +0200 Subject: [PATCH] test new travis test --- .travis.yml | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) 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