mirror of
https://github.com/thib8956/nginx-proxy
synced 2024-11-21 19:36:30 +00:00
24 lines
642 B
YAML
24 lines
642 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
|
|
- docker pull appropriate/curl
|
|
- docker pull docker:1.7
|
|
|
|
test:
|
|
override:
|
|
- docker build -t jwilder/nginx-proxy:bats .
|
|
- bats test
|