Skip to content

Instantly share code, notes, and snippets.

@seignovert
Last active January 9, 2019 20:03
Show Gist options
  • Save seignovert/5a08c80f93e2f014dee1e4b86289a3ac to your computer and use it in GitHub Desktop.
Save seignovert/5a08c80f93e2f014dee1e4b86289a3ac to your computer and use it in GitHub Desktop.
Travis-CI with Docker

Travis Docker

Create PyPi encrypted password using Tavis-CLI inside Docker.

docker run -v (pwd):/project -it --rm --entrypoint=/bin/sh skandyla/travis-cli
/project # travis login --org --github-token ##gh_token##
/project # travis encrypt **pypi_password** --add deploy.password

Lint travis-ci.yml

docker run -v (pwd):/project --rm skandyla/travis-cli lint .travis.yml  
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment