DEPRECATED: Use the image from my dockerfiles
repo instead: https://github.com/MaxMilton/dockerfiles/tree/master/travis
Run travis
CLI commands without having to install Ruby and all its dependencies.
Originally based on the work here.
Download from Docker Hub:
docker pull maxmilton/travis
Or build locally:
docker build -t travis-cli .
For example
docker run --rm -v $(pwd):/project --rm maxmilton/travis lint .travis.yml
See travis-ci readme for more usage information.
For convenience, I highly recommend creating a shell alias to allow you to use travis commands more naturally. In your .bashrc
, .zshrc
, etc. add:
alias travis='docker run -ti --rm -v $(pwd):/project maxmilton/travis'
You can now use travis CLI by just using the keyword travis
, e.g.:
travis lint .travis.yml
Released under the MIT licence; see LICENCE.
© 2017 We Are Genki