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