You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Module to interact with the Travis API from PowerShell.
Installation
Install-Module PSTravis
Included
Get-TravisUser
Get-TravisRepository
Get-TravisCruiseControlFeedUrl
Enable-TravisRepository
Add-TravisEnvironmentVariable
Get-TravisEnvironmentVariable
Update-TravisEnvironmentVariable
Remove-TravisEnvironmentVariable
Sync-TravisRepositories
Start-TravisRepositorySync
Wait-TravisRepositorySync
Missing something? PRs welcome!
Authentication
To access private repositories and make changes, provide an API token.
This token can be provided to all PSGitHub functions as a SecureString through the -Token parameter.
You can set a default token to be used by changing $PSDefaultParameterValues in your profile.ps1:
To get the value for YOUR_ENCRYPTED_TOKEN, run Read-Host -AsSecureString | ConvertFrom-SecureString once and paste in your token.
On macOS/Linux
macOS and Linux do not have access to the Windows Data Protection API, so they cannot use ConvertFrom-SecureString
to generate an encrypted plaintext version of the token without a custom encryption key.
If you are not concerned about storing the token in plain text in the profile.ps1, you can set it like this: