-
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Ran black formatter * Moved table of contents in README * Add Python 3.8 trove classifier * Add a downloads badge, and a "code style: black" badge. * Don't cover difference in import requirements between 3.6 and 3.7 * uvloop not working on 3.8 yet * Use docker compose for testing different pythons * Fix travis windows build * The actual fix for travis windows
- Loading branch information
Showing
8 changed files
with
42 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
version: "3.7" | ||
services: | ||
test37: | ||
build: | ||
context: . | ||
dockerfile: test.dockerfile | ||
test38: | ||
build: | ||
context: . | ||
dockerfile: test38.dockerfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,16 @@ | ||
FROM python:3.7-stretch | ||
|
||
RUN apt-get update | ||
RUN apt-get install -y vim less | ||
RUN apt-get update && apt-get install -y \ | ||
vim \ | ||
less | ||
|
||
VOLUME /opt/project | ||
|
||
#RUN mkdir /opt/project | ||
ADD . /opt/project | ||
|
||
WORKDIR /opt/project | ||
RUN python3.7 -m pip install \ | ||
COPY ./requirements-test.txt /requirements-test.txt | ||
RUN python -m pip install \ | ||
-r requirements-test.txt \ | ||
flit \ | ||
pygments | ||
COPY . /opt/project | ||
WORKDIR /opt/project | ||
RUN FLIT_ROOT_INSTALL=1 flit install --pth-file | ||
|
||
CMD ["/bin/bash"] | ||
CMD ["/bin/bash"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
FROM python:3.8-slim | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
vim \ | ||
less | ||
|
||
COPY ./requirements-test.txt /requirements-test.txt | ||
RUN python -m pip install \ | ||
-r requirements-test.txt \ | ||
flit \ | ||
pygments | ||
COPY . /opt/project | ||
WORKDIR /opt/project | ||
RUN FLIT_ROOT_INSTALL=1 flit install --pth-file | ||
|
||
CMD ["/bin/bash"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters