Skip to content

Commit

Permalink
Added Travis CI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pozgo committed Aug 26, 2017
1 parent 549e687 commit 9e4156d
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
services:
- docker

addons:
hosts:
- mkdocs

before_install:
- docker --version
- docker pull alpine:latest

script:
# Build Image
- docker build -t polinux/mkdocs .

#
# Test daemon mode (default settings)
#
- docker run -d --cap-add NET_ADMIN -p 8000:8000 --name mkdocs polinux/mkdocs && sleep 10

# Test direct request to Nginx
- curl -sSLi http://mkdocs:8000 | grep '200 OK'

0 comments on commit 9e4156d

Please sign in to comment.