Skip to content

Commit c37dc55

Browse files
committed
Merge pull request #497 from bfirsh/wercker
Add wercker.yml
2 parents fc4c35e + 7a8f5e1 commit c37dc55

2 files changed

Lines changed: 15 additions & 4 deletions

File tree

Dockerfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
FROM ubuntu:14.04
22
RUN apt-get update -qq && apt-get install -qy python python-pip python-dev git
3-
RUN useradd -d /home/user -m -s /bin/bash user
43

54
WORKDIR /code/
65

@@ -12,6 +11,3 @@ RUN pip install -r requirements-dev.txt
1211

1312
ADD . /code/
1413
RUN python setup.py install
15-
16-
RUN chown -R user /code/
17-
USER user

wercker.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
box: wercker-labs/docker
2+
build:
3+
steps:
4+
- script:
5+
name: validate DCO
6+
code: script/validate-dco
7+
- script:
8+
name: build
9+
code: docker build -t fig .
10+
- script:
11+
name: flake8
12+
code: docker run -v /var/run/docker.sock:/var/run/docker.sock fig flake8 fig
13+
- script:
14+
name: run tests
15+
code: docker run -v /var/run/docker.sock:/var/run/docker.sock fig nosetests

0 commit comments

Comments
 (0)