Skip to content

Commit dd58bf4

Browse files
committed
Update Python to 3.6.5
1 parent 6020586 commit dd58bf4

File tree

5 files changed

+90
-3
lines changed

5 files changed

+90
-3
lines changed

.travis.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
sudo: required
2+
3+
language: python
4+
5+
services:
6+
- docker
7+
8+
script:
9+
- make build
10+
- make test
11+
12+
notifications:
13+
email:
14+
on_success: never
15+
on_failure: change

.verchew.ini

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
[Make]
2+
3+
cli = make
4+
version = GNU Make
5+
6+
[Git]
7+
8+
cli = git
9+
version = 2.
10+
11+
[Python]
12+
13+
cli = python
14+
version = Python 3.6.5
15+
16+
[pipenv]
17+
18+
cli = pipenv
19+
version = 11.
20+
21+
[Java]
22+
23+
cli = java
24+
cli_version_arg = -version
25+
version = version "1.8.
26+
27+
[Leiningen]
28+
29+
cli = lein
30+
version = Leiningen 2.8.
31+
32+
[Firefox]
33+
34+
cli = firefox
35+
version = 54.
36+
optional = true
37+
message = This command-line entry point doesn't seem to exist on macOS
38+
39+
[geckodriver]
40+
41+
cli = geckodriver
42+
version = 0.17.
43+
optional = true
44+
message = Selenium WebDriver for Firefox: $ brew install geckodriver

Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
FROM circleci/python:3.6.4-stretch-browsers
1+
FROM circleci/python:3.6.5-stretch-browsers
2+
3+
# System
4+
5+
USER root
26

37
# Pipenv
48

Makefile

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
1+
TAG = python-clojure:latest
2+
13
.PHONY: all
24
all: build
35

6+
# LOCAL #######################################################################
7+
8+
.PHONY: doctor
9+
doctor:
10+
pip install --user verchew && python -m verchew --exit-code
11+
12+
# DOCKER ######################################################################
13+
414
.PHONY: build
515
build:
6-
docker build .
16+
docker build . --pull --tag=$(TAG)
17+
18+
.PHONY: test
19+
test:
20+
docker run -v $(PWD):/host -i $(TAG) bash -c "cp -a /host/. . && make doctor"

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
2+
[![Build Status](https://travis-ci.org/maketested/docker-python-clojure.svg?branch=master)](https://travis-ci.org/maketested/docker-python-clojure)
3+
14
# Docker: Python, Pipenv, Firefox, Java, Leiningen
25

3-
https://hub.docker.com/r/maketested/python-clojure/
6+
To test locally:
7+
8+
```
9+
$ make build
10+
$ make test
11+
```
12+
13+
Pushed changes are automatically built on [Docker Hub](https://hub.docker.com/r/maketested/python-clojure/builds).

0 commit comments

Comments
 (0)