• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

psf / black / 2659
96%

Build:
DEFAULT BRANCH: master
Ran 08 Apr 2021 04:15AM UTC
Jobs 5
Files 11
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
2659

push

travis-ci

web-flow
Add `black` Dockerfile (#1916)

* Add `black` Dockerfile
- Build a `black` container based on python3-slim
- Test: `docker build --network-host --tag black .`
```console
cooper-mbp1:black cooper$ docker image ls
REPOSITORY                                         TAG            IMAGE ID       CREATED              SIZE
black                                              latest         0c7636402ac2   4 seconds ago        332MB
```

Addresses part of #1914

* Build with colorama + d extra installs - Adds ~9mb

* Combine all build commands in 1 run
- Combine the commands all into 1 RUN to down the size
- Get to 65.98 MB image size now: https://hub.docker.com/repository/docker/cooperlees/black/tags?page=1&ordering=last_updated

* Add rm -r of /var/lib/apt/lists/* + save 10mb down to 55mb

4789 of 5025 relevant lines covered (95.3%)

3.8 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2659.1 (TEST_CMD="pre-commit run --all-files --show-diff-on-failure") 08 Apr 2021 04:15AM UTC 0
0.0
Travis Job 2659.1
2 2659.2 (TEST_CMD="tox -e py") 08 Apr 2021 04:15AM UTC 0
95.03
Travis Job 2659.2
3 2659.3 (TEST_CMD="tox -e py") 08 Apr 2021 04:15AM UTC 0
95.03
Travis Job 2659.3
4 2659.4 (TEST_CMD="tox -e py") 08 Apr 2021 04:18AM UTC 0
95.13
Travis Job 2659.4
5 2659.5 (TEST_CMD="tox -e py") 08 Apr 2021 04:18AM UTC 0
95.11
Travis Job 2659.5
Source Files on build 2659
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2659
  • 8e0803e7 on github
  • Prev Build on master (#2654)
  • Next Build on master (#2668)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc