mirror of
https://github.com/thib8956/nginx-proxy
synced 2024-11-25 05:16:30 +00:00
21 lines
577 B
YAML
21 lines
577 B
YAML
|
machine:
|
||
|
pre:
|
||
|
# install docker 1.7.1
|
||
|
- sudo curl -L -o /usr/bin/docker 'https://s3-external-1.amazonaws.com/circle-downloads/docker-1.7.1-circleci'; sudo chmod 0755 /usr/bin/docker; true
|
||
|
services:
|
||
|
- docker
|
||
|
|
||
|
dependencies:
|
||
|
override:
|
||
|
- sudo add-apt-repository ppa:duggan/bats --yes
|
||
|
- sudo apt-get update -qq
|
||
|
- sudo apt-get install -qq bats
|
||
|
- docker pull jwilder/docker-gen
|
||
|
- docker pull nginx
|
||
|
- docker pull python:3
|
||
|
- docker pull rancher/socat-docker
|
||
|
|
||
|
test:
|
||
|
override:
|
||
|
- docker build -t jwilder/nginx-proxy:bats .
|
||
|
- bats test
|