Skip to content

MilosSimic/mytravis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mytravis Build Status Built with Spacemacs

Docker image for Travis CLI

Summary

Docker image for Travis CLI

  1. Build your image:
docker build -t mytravis .
  1. Positionate where your .travis.yml file is located

Run travis cli commands in this format:

docker run --rm -v $PWD:/repo -v ~/.travis:/travis mytravis <command>
  1. Login to your github repo:
docker run --rm -v $PWD:/repo -v ~/.travis:/travis mytravis -github-token <github_access_token>
  1. Test is your repo connected:
docker run --rm -v $PWD:/repo -v ~/.travis:/travis mytravis whoami

Github access token

To get github_access_token go to your profile > Developer settings > Personal access tokens > Generate new token

For more commands go to docs

Releases

No releases published

Packages

No packages published