mirror of
https://github.com/alrayyes/docker-alpine-hugo-git-bash
synced 2023-11-14 15:56:26 +00:00
test new travis test
This commit is contained in:
parent
7f9e292691
commit
a32332d2f6
19
.travis.yml
19
.travis.yml
@ -1,18 +1,9 @@
|
|||||||
sudo: required
|
|
||||||
|
|
||||||
env:
|
|
||||||
DOCKER_COMPOSE_VERSION: 1.7.1
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- docker
|
- docker
|
||||||
|
|
||||||
before_install:
|
install:
|
||||||
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
|
- docker build -t hugo .
|
||||||
- chmod +x docker-compose
|
- docker run -d --name hugo hugo
|
||||||
- sudo mv docker-compose /usr/local/bin
|
|
||||||
- docker-compose -v
|
|
||||||
- docker -v
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- docker-compose up -d
|
- docker ps | grep -q hugo
|
||||||
- docker-compose ps
|
|
||||||
|
Loading…
Reference in New Issue
Block a user