Skip to content

Commit

Permalink
Merge pull request #70 from xsnippet/dockerhub-automated-build
Browse files Browse the repository at this point in the history
Move Dockerfile to the root to simplify integration with Dockerhub
  • Loading branch information
ikalnytskyi committed Jan 23, 2018
2 parents cda9e43 + fd181e5 commit 1aed64b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ services:
- mongodb

before_install:
- docker build -t xsnippet_api -f contrib/docker/Dockerfile .
- docker run -d --net=host xsnippet_api
- pip install tox
- tox -e docker-build -- smoke
- docker run -d --net=host xsnippet/xsnippet-api:smoke

install:
- pip install tox coveralls
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ whitelist_externals = bash
commands =
bash -c "docker build \
-t xsnippet/xsnippet-api:{posargs:$(git status | grep 'working tree clean' >/dev/null && git rev-parse --short HEAD || echo -n wip)} \
-f contrib/docker/Dockerfile ."
."

[flake8]
max-line-length = 100

0 comments on commit 1aed64b

Please sign in to comment.