Revision as of 09:48, 20 September 2017 by Eglinger (→Instructions: embed travis config files (Maven) from scijava-common)
Travis is a tool for continuous integration. It has excellent integration with GitHub, making it a viable alternative to Jenkins for automating tasks.
Automatic Deployment of Maven Artifacts
- Host your open-source project on GitHub.
- Log in to Travis CI with your corresponding GitHub account and enable your repository.
- Contact an ImageJ admin in Gitter or the ImageJ forum and request that they file a PR which adds Travis support to your repository.
Testing things which cannot run headless
before_script: - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" - sleep 3 # give xvfb some time to start
Of course, you should do this only as a last resort, since the best unit tests should not require a display in the first place.