Skip to content
This repository has been archived by the owner on Mar 10, 2019. It is now read-only.

maxmilton/docker-travis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECATED: Use the image from my dockerfiles repo instead: https://github.com/MaxMilton/dockerfiles/tree/master/travis


Build Status Image version Image layers

Travis CLI via Docker

Run travis CLI commands without having to install Ruby and all its dependencies.

Originally based on the work here.

Usage

1. Get image

Download from Docker Hub:

docker pull maxmilton/travis

Or build locally:

docker build -t travis-cli .

2. Run travis commands

For example

docker run --rm -v $(pwd):/project --rm maxmilton/travis lint .travis.yml

See travis-ci readme for more usage information.

Bonus tip

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

Licence

Released under the MIT licence; see LICENCE.


© 2017 We Are Genki

About

💻 Run travis CLI commands without having to install Ruby and all its dependencies.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published