-
Notifications
You must be signed in to change notification settings - Fork 251
Closed
Description
BUG: Travis-CI no longer tests the integration of Pull Request or any other branch except for master!
(Due to commit f004f9c)
Commit f004f9c hijacked Travis-CI to build a Docker executable from git master.
Travis-CI should be used to test the integration of any changes to the source, including PRs.
As it stands, the current setup just happens to test changes to master only.
- The Dockerfile used in the service docker in .travis.yml should be used to create a build environment in which to test the integration.
- To create Docker executables it's probably better to use a separate git repository.
For Docker executables see also:- Debian-based Docker exe: https://github.com/bylevel/docker_untrunc.git
(Uses an embedded builder Docker container to reduce the final executable size.) - ArchLinux-based Docker exe: https://github.com/mooyoul/docker-untrunc.git
- Ubuntu:12.04-based Docker exe: https://github.com/synctree/docker-untrunc.git
- Debian-based Docker exe: https://github.com/bylevel/docker_untrunc.git
- People may want to create a Docker executable based on their own distro (Fedora, CentOS, SuSE).
Suggestions:
- Update the
Docker containerinstructions in theREADME.md:- Add a comment that you must install the
dockerpackage first. - Add a description on the usage of the docker
-voption.
Not everybody dumps files on their desktop.
What to do when the files are in different directories?
- Add a comment that you must install the
- Mention the other Docker Untrunc projects in the
README.md. - Rename
DockerfiletoDockerfile-ubuntu, so one can easily add Docker containers based on different distros. Or maybe, even put it in a newdockerssubdirectory. - Add a
.dockerignorefile. - And above all else, use Travis-CI for integration testing!
You can use Travis-CI to test if the Docker-Untrunc executable can be build (and upload the successful build to a Docker Registry), but only when Travis-CI is used to test git master itself. There is no need to unnecessary increase the test time for PRs and non-master branches.
Metadata
Metadata
Assignees
Labels
No labels