Giter VIP home page Giter VIP logo

openlp-docker's Introduction

Docker images for running OpenLP's testsuite

This repository contains DOCKERFILE's for different linux distors, to be able to run OpenLP's testsuite under different environments.

It can also be used to run the test if you can't do that on your local machine.

There currently are five images:

Tag System Python version Information
debian-stable Debian stable (stretch) 3.5.x Currently can't run the tests in trunk
debian-testing Debian testing 3.6.x
ubuntu The latest ubuntu release 3.6.x The tests should always pass here
ubuntu-lts The latest ubuntu lts release 3.6.x Currently the same as the ubuntu image
ubuntu-devel The upcoming ubuntu release 3.6.x
fedora-28 Fedora 28 3.5.x
fedora-29 Upcoming release of Fedora 29 3.7.x
archlinux Archlinux (rolling) 3.7.x

You can grab the images by pulling docker pull simhnna/openlp:<TAG>. If you don't specify a Tag, you will get the ubuntu image.

So running docker pull simhnna/openlp:ubuntu will grab the same image as running docker pull simhnna/openlp

Running docker run -it simhnna/openlp:ubuntu bash will start the container and present you with a bash prompt

The images come with bzr preinstalled, so you can start them up, pull openlp and run the tests. There is a more elegant solution, if you want to test something you have on your local machine.

You can mount a local directory into the container: docker run -i -v /path/to/directory/openlp/trunk:/openlp -t simhnna/openlp:ubuntu bash Now you will have your directory mounted at /openlp. You can change into that folder and run the tests

cd /openlp
xvfb-run pytest-3

Because the docker image doesn't come with an active display, you need to fake it. That's why we started the test-command with xvfb-run

If you find an issue, open an issue (^^) on github. Otherwise you can contact me on freenode under my nick thelinuxguy

openlp-docker's People

Contributors

simhnna avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.