https://github.com/rycus86/docker-travis-cli
Docker container around the Travis command line tool
https://github.com/rycus86/docker-travis-cli
Last synced: about 1 year ago
JSON representation
Docker container around the Travis command line tool
- Host: GitHub
- URL: https://github.com/rycus86/docker-travis-cli
- Owner: rycus86
- License: mit
- Created: 2017-06-08T23:02:35.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-02T20:08:17.000Z (almost 9 years ago)
- Last Synced: 2025-01-23T18:16:10.197Z (over 1 year ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# travis-cli
[](https://hub.docker.com/r/rycus86/travis-cli)
[](https://microbadger.com/images/rycus86/travis-cli "Get your own image badge on microbadger.com")
A *Docker* image to run the `travis` cli tool without having to install it (or Ruby).
### Usage
```
docker run --rm -it \
-v $PWD:/travis \
-v ~/.travis-cli:/home/travis-cli \
rycus86/travis-cli COMMAND
```
The `/travis` mount will bring in the current directory you're in.
The `~/.travis-cli` mount will save settings like login token, etc.
### Installation
The *Docker* image can be fetched with a simple `docker pull rycus86/travis-cli` command.
Though if you want a wrapper to execute it like the example above you can execute:
`curl -sSL https://raw.githubusercontent.com/rycus86/docker-travis-cli/master/install.sh | sudo sh`
*Ignore sudo and just do `... | sh` if that's appropriate.*
This will install the `travis-cli` *Shell wrapper* in `/usr/local/bin/travis-cli`.
Try the installation with `travis-cli help` afterwards.
Check the [travis-cli.sh](https://github.com/rycus86/docker-travis-cli/blob/master/travis-cli.sh)
file to see what gets installed when using this installation method.