| 1 | #!/bin/sh |
| 2 | |
| 3 | # build docker images from Travis matrix |
| 4 | if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$DOCK" = "1" ] |
| 5 | then |
| 6 | docker build \ |
| 7 | --tag plyer:py3 \ |
| 8 | --file ci/docker/Dockerfile.$IMAGE.py3 \ |
| 9 | "$(pwd)" |
| 10 | |
| 11 | # style image that inherits layers from Python 3 image |
| 12 | if [ "$RUN" = "style" ] |
| 13 | then |
| 14 | docker build \ |
| 15 | --tag plyer:style \ |
| 16 | --file ci/docker/Dockerfile.$IMAGE.style \ |
| 17 | "$(pwd)" |
| 18 | fi |
| 19 | fi |