Showing
1 changed file
with
5 additions
and
2 deletions
| ... | @@ -2,12 +2,15 @@ language: python | ... | @@ -2,12 +2,15 @@ language: python |
| 2 | python: | 2 | python: |
| 3 | - "3.6" | 3 | - "3.6" |
| 4 | 4 | ||
| 5 | +env: | ||
| 6 | + - LANGUAGE="py" | ||
| 7 | + | ||
| 5 | services: | 8 | services: |
| 6 | - docker | 9 | - docker |
| 7 | 10 | ||
| 8 | before_install: | 11 | before_install: |
| 9 | - - docker pull graykode/commit-autosuggestions | 12 | + - docker pull graykode/commit-autosuggestions:${LANGUAGE} |
| 10 | - - docker run -it -d -p 5000:5000 --restart always graykode/commit-autosuggestions | 13 | + - docker run -it -d -p 5000:5000 --restart always graykode/commit-autosuggestions:${LANGUAGE} |
| 11 | 14 | ||
| 12 | # command to install dependencies | 15 | # command to install dependencies |
| 13 | install: | 16 | install: | ... | ... |
-
Please register or login to post a comment