Comments (3)
I tried to do it and it works!
How I did it:
- I've created new Docker image called fedora-python-tox designed to run tox tests in Docker container with all available Pythons installed. See github repo and docker hub
- I've created one more Docker image (designed for Kobo testing) based on Docker image from point one. See Dockerfile in my new docker branch and docker hub
- Updated
.travis.yml
file to pull Docker image from point 2 and use it to run test via Tox inside this container. Successful build can be found here - As you can see in logs, Python 2.7 and Python 3.6 has no skipped tests.
- Profit
😄
I can simply reproduce all the steps above or anybody can follow it to create a new Docker hub account, new repository for Kobo, then connecting it with Github and then the last two steps with Dockerfile and Travis configuration (obviously with different names ...).
What do you think about it?
from kobo.
I've filed rpm-py-installer/rpm-py-installer#131 to make it easier to pip install koji
on Ubuntu.
from kobo.
This was marked closed due to PR #61 which fixes the skipped tests, but note that it didn't do this by using docker. It was sufficient to add some extra steps to the Travis builds to install extra dependencies.
from kobo.
Related Issues (20)
- Migration issue with Django 2.1 HOT 2
- Command for changing priority of a task
- Deprecated RequestContext is used in django xmlrpc view. HOT 1
- Add Django 1.11 to CI HOT 3
- Crash in shortcuts.run when unicode character falls on chunk boundary HOT 1
- Split the library into smaller parts HOT 1
- ImportError on Python 3
- AttributeError on Python 3
- shortcuts.run breaks if text mode is enabled (except for universal_newlines) HOT 1
- force_list does not return a list if argument is dict_keys type
- Py2-only dependency: krbV HOT 3
- Enhancement: add a --profile option HOT 1
- `covscan-client` broken by update to `kobo-0.18.0-1.fc34` HOT 3
- switch from Travis CI to GitHub Actions HOT 7
- Strict mimetypes or not?
- Fix code coverage for the new CI
- Missing migration for FileUpload
- Dependency on distutils
- Confusing help text in `Worker.task_count` field
- _utf8_chunk and _tail fails on Python 3 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kobo.