travis 1.6.3.travis.381.4 → 1.6.3.travis.384.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- Njg4YzAzMjU1Y2MwMWE1N2Y1NmY2MDM3ZmY3NjhhY2YyNTkyZWI2Mw==
4
+ YTRjYWU5MTg2NDU3NDhiNjNhZDgxMGJkYjk3OTg2ZjcxYzRjYTI3MQ==
5
5
  data.tar.gz: !binary |-
6
- NmM5NmM5OGFkOWY4ZjkxMGMwYWI4NmE2YzFhNmY1NDI1NzI4ZjA1NQ==
7
- !binary "U0hBNTEy":
6
+ NmE1YjczOGM4MDRhMWUwN2RiNjkwZDQxMjE2NmFkNjJlZjgyOGNkYw==
7
+ SHA512:
8
8
  metadata.gz: !binary |-
9
- Zjk0YzM2ZTNlZTkzNmFlMTU4MmQ4NWNkNGE2OTcwY2EyMDJlZGFjNGZhYTJh
10
- ZTZjYzE1YmY4NzM3ZjVjZDY2N2YwZjZhMTRhOGM2YjhlZjE3MjZmNzQ1NDky
11
- YTNmM2JlOWIyN2ExMjRjYzUzNjBlNGZlYTRhNzgzNzgwOWIyNWE=
9
+ NTNjZDIyMDA4NTc4ZGJlMjU3ZTk5N2ZkNGU1NWYwMDdjMzI0MWFhNzAwOWU1
10
+ ZDAzNTkzZDU2ZDczNWE0ZjFiNDEwYzlkOWZjZGExNDgzMzkxMmY4NWM2NGRk
11
+ MDE5ZGY1YTdhNGQ1NWJjOWI5MWIwNGI5OGExZmRkOGY4MmU5OWU=
12
12
  data.tar.gz: !binary |-
13
- MDdjYTRiYmFlOTNjZjUyODVlZmNlZTkzNmIxNGY1NTFjOGVjYzE0YjZlN2Ji
14
- ZjkzMzBmZWNiNzRiYjkzMWVjZWVlZWJlMjE2Y2ZlMzgzYmJkNTgwM2Y5ZGE5
15
- ZWFkNTQzMDk1OTViYjUwYmUxMzA4OTdhMzk0YmUxNDliMTI2OWI=
13
+ NDhjZmI1YmVhMmVmZmI0MGI5Y2I0ZDU5MzQ4ZjU1MjA2NzYwYWZkOGI4ZmIx
14
+ MjhiNzM3NDcxMmQ1NGQ1NmMyM2ViMTUxNjdlMTkxNzYzM2Q1OTMxYzI1Yzcz
15
+ YzVjYmI1ZGRmOTg0ZWJkNzkzMjc1OWEzMGIwZDE3YjI3ZTNkMjQ=
data/README.md CHANGED
@@ -583,20 +583,26 @@ There are two ways the client can treat existing values:
583
583
 
584
584
  #### `history`
585
585
 
586
+ Displays a projects build history.
586
587
  Usage: travis history [options]
587
588
  -h, --help Display help
588
589
  -i, --[no-]interactive be interactive and colorful
589
590
  -E, --[no-]explode don't rescue exceptions
591
+ --skip-version-check don't check if travis client is up to date
592
+ --skip-completion-check don't check if auto-completion is set up
590
593
  -e, --api-endpoint URL Travis API server to talk to
594
+ -I, --[no-]insecure do not verify SSL certificate of API endpoint
591
595
  --pro short-cut for --api-endpoint 'https://api.travis-ci.com/'
592
596
  --org short-cut for --api-endpoint 'https://api.travis-ci.org/'
593
597
  -t, --token [ACCESS_TOKEN] access token to use
594
598
  --debug show API requests
595
- -r, --repo SLUG
599
+ -X, --enterprise [NAME] use enterprise setup (optionally takes name for multiple setups)
600
+ -r, --repo SLUG repository to use (will try to detect from current git clone)
596
601
  -a, --after BUILD Only show history after a given build number
597
602
  -p, --pull-request NUMBER Only show history for the given Pull Request
598
603
  -b, --branch BRANCH Only show history for the given branch
599
604
  -l, --limit LIMIT Maximum number of history items
605
+ -d, --date Include date in output
600
606
  --[no-]all Display all history items
601
607
 
602
608
  You can check out what the recent builds look like:
@@ -20,7 +20,7 @@ if type compdef 1>/dev/null 2>/dev/null; then
20
20
  compdef _travis travis
21
21
  _travis() { _travis_complete $((${#words} - 1)) "${words[2]}"; }
22
22
  _travis_commands() { list=(accounts:"displays accounts and their subscription status" branches:"displays the most recent build for each branch" cache:"lists or deletes repository caches" cancel:"cancels a job or build" console:"interactive shell" disable:"disables a project" enable:"enables a project" encrypt:"encrypts values for the .travis.yml" endpoint:"displays or changes the API endpoint" help:"helps you out when in dire need of information" history:"displays a projects build history" init:"generates a .travis.yml and enables the project" login:"authenticates against the API and stores the token" logout:"deletes the stored API token" logs:"streams test logs" monitor:"live monitor for what's going on" open:"opens a build or job in the browser" pubkey:"prints out a repository's public key" raw:"makes an (authenticated) API call and prints out the result" report:"generates a report useful for filing issues" restart:"restarts a build or job" setup:"sets up an addon or deploy target" show:"displays a build or job" status:"checks status of the latest build" sync:"triggers a new sync with GitHub" token:"outputs the secret API token" version:"outputs the client version" whatsup:"lists most recent builds" whoami:"outputs the current user") _describe -t common-commands 'common commands' list; }
23
- _travis_setup() { list=(appfog:"automatic deployment to Appfog" cloudcontrol:"automatic deployment to cloudControl" cloudfoundry:"automatic deployment to Cloud Foundry" engineyard:"automatic deployment to Engine Yard" heroku:"automatic deployment to Heroku" npm:"automatic release to NPM" nodejitsu:"automatic deployment to Nodejitsu" openshift:"automatic deployment to OpenShfit" pypi:"automatic deployment to PyPI" rubygems:"automatic release to RubyGems" s:"automatic pushing to S3" sauce_connect:"Sauce Connet addon for Sauce Labs integration") _describe -t common-commands 'common commands' list; }
23
+ _travis_setup() { list=(appfog:"automatic deployment to Appfog" cloudcontrol:"automatic deployment to cloudControl" cloudfiles:"automatic pushing to Rackspace Cloud Files" cloudfoundry:"automatic deployment to Cloud Foundry" divshot:"deployment to Divshot.io" engineyard:"automatic deployment to Engine Yard" heroku:"automatic deployment to Heroku" npm:"automatic release to NPM" nodejitsu:"automatic deployment to Nodejitsu" openshift:"automatic deployment to OpenShfit" pypi:"automatic deployment to PyPI" rubygems:"automatic release to RubyGems" s:"automatic pushing to S3" sauce_connect:"Sauce Connet addon for Sauce Labs integration") _describe -t common-commands 'common commands' list; }
24
24
  _travis_init() { list=(c:'initialize c project' clojure:'initialize clojure project' cpp:'initialize cpp project' erlang:'initialize erlang project' go:'initialize go project' groovy:'initialize groovy project' haskell:'initialize haskell project' java:'initialize java project' node_js:'initialize node_js project' objective-c:'initialize objective-c project' perl:'initialize perl project' php:'initialize php project' python:'initialize python project' ruby:'initialize ruby project' scala:'initialize scala project') _describe -t common-commands 'common commands' list; }
25
25
  _travis_option() {
26
26
  case "${words[2]}" in
@@ -34,7 +34,7 @@ if type compdef 1>/dev/null 2>/dev/null; then
34
34
  encrypt) _arguments -s -S "-h[Display help]" "--help[Display help]" "-i[be interactive and colorful]" "--interactive[be interactive and colorful]" "--no-interactive[be interactive and colorful]" "-E[don't rescue exceptions]" "--explode[don't rescue exceptions]" "--no-explode[don't rescue exceptions]" "--skip-version-check[don't check if travis client is up to date]" "--skip-completion-check[don't check if auto-completion is set up]" "-e[Travis API server to talk to]" "--api-endpoint[Travis API server to talk to]" "-I[do not verify SSL certificate of API endpoint]" "--insecure[do not verify SSL certificate of API endpoint]" "--no-insecure[do not verify SSL certificate of API endpoint]" "--pro[short-cut for --api-endpoint 'https://api.travis-ci.com/']" "--org[short-cut for --api-endpoint 'https://api.travis-ci.org/']" "--staging[talks to staging system]" "-t[access token to use]" "--token[access token to use]" "--debug[show API requests]" "-X[use enterprise setup (optionally takes name for multiple setups)]" "--enterprise[use enterprise setup (optionally takes name for multiple setups)]" "--adapter[Faraday adapter to use for HTTP requests]" "-r[repository to use (will try to detect from current git clone)]" "--repo[repository to use (will try to detect from current git clone)]" "-a[adds it to .travis.yml under KEY (default: env.global)]" "--add[adds it to .travis.yml under KEY (default: env.global)]" "-s[treat each line as a separate input]" "--split[treat each line as a separate input]" "--no-split[treat each line as a separate input]" "-p[don't override existing values, instead treat as list]" "--append[don't override existing values, instead treat as list]" "-x[override existing value]" "--override[override existing value]" '*:file:_files' && return 0;;
35
35
  endpoint) _arguments -s -S "-h[Display help]" "--help[Display help]" "-i[be interactive and colorful]" "--interactive[be interactive and colorful]" "--no-interactive[be interactive and colorful]" "-E[don't rescue exceptions]" "--explode[don't rescue exceptions]" "--no-explode[don't rescue exceptions]" "--skip-version-check[don't check if travis client is up to date]" "--skip-completion-check[don't check if auto-completion is set up]" "-e[Travis API server to talk to]" "--api-endpoint[Travis API server to talk to]" "-I[do not verify SSL certificate of API endpoint]" "--insecure[do not verify SSL certificate of API endpoint]" "--no-insecure[do not verify SSL certificate of API endpoint]" "--pro[short-cut for --api-endpoint 'https://api.travis-ci.com/']" "--org[short-cut for --api-endpoint 'https://api.travis-ci.org/']" "--staging[talks to staging system]" "-t[access token to use]" "--token[access token to use]" "--debug[show API requests]" "-X[use enterprise setup (optionally takes name for multiple setups)]" "--enterprise[use enterprise setup (optionally takes name for multiple setups)]" "--adapter[Faraday adapter to use for HTTP requests]" "--drop-default[delete stored default endpoint]" "--set-default[store endpoint as global default]" "--github[display github endpoint]" '*:file:_files' && return 0;;
36
36
  help) _arguments -s -S "-h[Display help]" "--help[Display help]" "-i[be interactive and colorful]" "--interactive[be interactive and colorful]" "--no-interactive[be interactive and colorful]" "-E[don't rescue exceptions]" "--explode[don't rescue exceptions]" "--no-explode[don't rescue exceptions]" "--skip-version-check[don't check if travis client is up to date]" "--skip-completion-check[don't check if auto-completion is set up]" '*:file:_files' && return 0;;
37
- history) _arguments -s -S "-h[Display help]" "--help[Display help]" "-i[be interactive and colorful]" "--interactive[be interactive and colorful]" "--no-interactive[be interactive and colorful]" "-E[don't rescue exceptions]" "--explode[don't rescue exceptions]" "--no-explode[don't rescue exceptions]" "--skip-version-check[don't check if travis client is up to date]" "--skip-completion-check[don't check if auto-completion is set up]" "-e[Travis API server to talk to]" "--api-endpoint[Travis API server to talk to]" "-I[do not verify SSL certificate of API endpoint]" "--insecure[do not verify SSL certificate of API endpoint]" "--no-insecure[do not verify SSL certificate of API endpoint]" "--pro[short-cut for --api-endpoint 'https://api.travis-ci.com/']" "--org[short-cut for --api-endpoint 'https://api.travis-ci.org/']" "--staging[talks to staging system]" "-t[access token to use]" "--token[access token to use]" "--debug[show API requests]" "-X[use enterprise setup (optionally takes name for multiple setups)]" "--enterprise[use enterprise setup (optionally takes name for multiple setups)]" "--adapter[Faraday adapter to use for HTTP requests]" "-r[repository to use (will try to detect from current git clone)]" "--repo[repository to use (will try to detect from current git clone)]" "-a[Only show history after a given build number]" "--after[Only show history after a given build number]" "-p[Only show history for the given Pull Request]" "--pull-request[Only show history for the given Pull Request]" "-b[Only show history for the given branch]" "--branch[Only show history for the given branch]" "-l[Maximum number of history items]" "--limit[Maximum number of history items]" "--all[Display all history items]" "--no-all[Display all history items]" '*:file:_files' && return 0;;
37
+ history) _arguments -s -S "-h[Display help]" "--help[Display help]" "-i[be interactive and colorful]" "--interactive[be interactive and colorful]" "--no-interactive[be interactive and colorful]" "-E[don't rescue exceptions]" "--explode[don't rescue exceptions]" "--no-explode[don't rescue exceptions]" "--skip-version-check[don't check if travis client is up to date]" "--skip-completion-check[don't check if auto-completion is set up]" "-e[Travis API server to talk to]" "--api-endpoint[Travis API server to talk to]" "-I[do not verify SSL certificate of API endpoint]" "--insecure[do not verify SSL certificate of API endpoint]" "--no-insecure[do not verify SSL certificate of API endpoint]" "--pro[short-cut for --api-endpoint 'https://api.travis-ci.com/']" "--org[short-cut for --api-endpoint 'https://api.travis-ci.org/']" "--staging[talks to staging system]" "-t[access token to use]" "--token[access token to use]" "--debug[show API requests]" "-X[use enterprise setup (optionally takes name for multiple setups)]" "--enterprise[use enterprise setup (optionally takes name for multiple setups)]" "--adapter[Faraday adapter to use for HTTP requests]" "-r[repository to use (will try to detect from current git clone)]" "--repo[repository to use (will try to detect from current git clone)]" "-a[Only show history after a given build number]" "--after[Only show history after a given build number]" "-p[Only show history for the given Pull Request]" "--pull-request[Only show history for the given Pull Request]" "-b[Only show history for the given branch]" "--branch[Only show history for the given branch]" "-l[Maximum number of history items]" "--limit[Maximum number of history items]" "-d[Include date in output]" "--date[Include date in output]" "--all[Display all history items]" "--no-all[Display all history items]" '*:file:_files' && return 0;;
38
38
  init) _arguments -s -S "-h[Display help]" "--help[Display help]" "-i[be interactive and colorful]" "--interactive[be interactive and colorful]" "--no-interactive[be interactive and colorful]" "-E[don't rescue exceptions]" "--explode[don't rescue exceptions]" "--no-explode[don't rescue exceptions]" "--skip-version-check[don't check if travis client is up to date]" "--skip-completion-check[don't check if auto-completion is set up]" "-e[Travis API server to talk to]" "--api-endpoint[Travis API server to talk to]" "-I[do not verify SSL certificate of API endpoint]" "--insecure[do not verify SSL certificate of API endpoint]" "--no-insecure[do not verify SSL certificate of API endpoint]" "--pro[short-cut for --api-endpoint 'https://api.travis-ci.com/']" "--org[short-cut for --api-endpoint 'https://api.travis-ci.org/']" "--staging[talks to staging system]" "-t[access token to use]" "--token[access token to use]" "--debug[show API requests]" "-X[use enterprise setup (optionally takes name for multiple setups)]" "--enterprise[use enterprise setup (optionally takes name for multiple setups)]" "--adapter[Faraday adapter to use for HTTP requests]" "-r[repository to use (will try to detect from current git clone)]" "--repo[repository to use (will try to detect from current git clone)]" "-s[don't trigger a sync if the repo is unknown]" "--skip-sync[don't trigger a sync if the repo is unknown]" "-f[override .travis.yml if it already exists]" "--force[override .travis.yml if it already exists]" "-k[do not enable project, only add .travis.yml]" "--skip-enable[do not enable project, only add .travis.yml]" "-p[print generated config instead of writing to file]" "--print-conf[print generated config instead of writing to file]" "--script[sets script option in .travis.yml (can be used more than once)]" "--before-script[sets before_script option in .travis.yml (can be used more than once)]" "--after-script[sets after_script option in .travis.yml (can be used more than once)]" "--after-success[sets after_success option in .travis.yml (can be used more than once)]" "--install[sets install option in .travis.yml (can be used more than once)]" "--before-install[sets before_install option in .travis.yml (can be used more than once)]" "--compiler[sets compiler option in .travis.yml (can be used more than once)]" "--otp-release[sets otp_release option in .travis.yml (can be used more than once)]" "--go[sets go option in .travis.yml (can be used more than once)]" "--jdk[sets jdk option in .travis.yml (can be used more than once)]" "--node-js[sets node_js option in .travis.yml (can be used more than once)]" "--perl[sets perl option in .travis.yml (can be used more than once)]" "--php[sets php option in .travis.yml (can be used more than once)]" "--python[sets python option in .travis.yml (can be used more than once)]" "--rvm[sets rvm option in .travis.yml (can be used more than once)]" "--scala[sets scala option in .travis.yml (can be used more than once)]" "--env[sets env option in .travis.yml (can be used more than once)]" "--gemfile[sets gemfile option in .travis.yml (can be used more than once)]" '*:file:_files' && return 0;;
39
39
  login) _arguments -s -S "-h[Display help]" "--help[Display help]" "-i[be interactive and colorful]" "--interactive[be interactive and colorful]" "--no-interactive[be interactive and colorful]" "-E[don't rescue exceptions]" "--explode[don't rescue exceptions]" "--no-explode[don't rescue exceptions]" "--skip-version-check[don't check if travis client is up to date]" "--skip-completion-check[don't check if auto-completion is set up]" "-e[Travis API server to talk to]" "--api-endpoint[Travis API server to talk to]" "-I[do not verify SSL certificate of API endpoint]" "--insecure[do not verify SSL certificate of API endpoint]" "--no-insecure[do not verify SSL certificate of API endpoint]" "--pro[short-cut for --api-endpoint 'https://api.travis-ci.com/']" "--org[short-cut for --api-endpoint 'https://api.travis-ci.org/']" "--staging[talks to staging system]" "-t[access token to use]" "--token[access token to use]" "--debug[show API requests]" "-X[use enterprise setup (optionally takes name for multiple setups)]" "--enterprise[use enterprise setup (optionally takes name for multiple setups)]" "--adapter[Faraday adapter to use for HTTP requests]" "--github-token[identify by GitHub token]" "--auto[try to figure out who you are automatically (might send another apps token to Travis, token will not be stored)]" '*:file:_files' && return 0;;
40
40
  logout) _arguments -s -S "-h[Display help]" "--help[Display help]" "-i[be interactive and colorful]" "--interactive[be interactive and colorful]" "--no-interactive[be interactive and colorful]" "-E[don't rescue exceptions]" "--explode[don't rescue exceptions]" "--no-explode[don't rescue exceptions]" "--skip-version-check[don't check if travis client is up to date]" "--skip-completion-check[don't check if auto-completion is set up]" "-e[Travis API server to talk to]" "--api-endpoint[Travis API server to talk to]" "-I[do not verify SSL certificate of API endpoint]" "--insecure[do not verify SSL certificate of API endpoint]" "--no-insecure[do not verify SSL certificate of API endpoint]" "--pro[short-cut for --api-endpoint 'https://api.travis-ci.com/']" "--org[short-cut for --api-endpoint 'https://api.travis-ci.org/']" "--staging[talks to staging system]" "-t[access token to use]" "--token[access token to use]" "--debug[show API requests]" "-X[use enterprise setup (optionally takes name for multiple setups)]" "--enterprise[use enterprise setup (optionally takes name for multiple setups)]" "--adapter[Faraday adapter to use for HTTP requests]" '*:file:_files' && return 0;;
@@ -59,7 +59,7 @@ elif type compctl 1>/dev/null 2>/dev/null; then
59
59
  compctl -K _travis travis
60
60
  _travis() { read -cA words && _travis_complete $((${#words} - 1)) "${words[2]}"; }
61
61
  _travis_commands() { reply=("accounts" "branches" "cache" "cancel" "console" "disable" "enable" "encrypt" "endpoint" "help" "history" "init" "login" "logout" "logs" "monitor" "open" "pubkey" "raw" "report" "restart" "setup" "show" "status" "sync" "token" "version" "whatsup" "whoami"); }
62
- _travis_setup() { reply=("appfog" "cloudcontrol" "cloudfoundry" "engineyard" "heroku" "npm" "nodejitsu" "openshift" "pypi" "rubygems" "s" "sauce_connect"); }
62
+ _travis_setup() { reply=("appfog" "cloudcontrol" "cloudfiles" "cloudfoundry" "divshot" "engineyard" "heroku" "npm" "nodejitsu" "openshift" "pypi" "rubygems" "s" "sauce_connect"); }
63
63
  _travis_init() { reply=("c" "clojure" "cpp" "erlang" "go" "groovy" "haskell" "java" "node_js" "objective-c" "perl" "php" "python" "ruby" "scala"); }
64
64
  _travis_option() {
65
65
  case "${words[2]}" in
@@ -73,7 +73,7 @@ elif type compctl 1>/dev/null 2>/dev/null; then
73
73
  encrypt) reply=("--help" "-h" "--interactive" "--no-interactive" "-i" "--explode" "--no-explode" "-E" "--skip-version-check" "--skip-completion-check" "--api-endpoint" "-e" "--insecure" "--no-insecure" "-I" "--pro" "--org" "--staging" "--token" "-t" "--debug" "--enterprise" "-X" "--adapter" "--repo" "-r" "--add" "-a" "--split" "--no-split" "-s" "--append" "-p" "--override" "-x");;
74
74
  endpoint) reply=("--help" "-h" "--interactive" "--no-interactive" "-i" "--explode" "--no-explode" "-E" "--skip-version-check" "--skip-completion-check" "--api-endpoint" "-e" "--insecure" "--no-insecure" "-I" "--pro" "--org" "--staging" "--token" "-t" "--debug" "--enterprise" "-X" "--adapter" "--drop-default" "--set-default" "--github");;
75
75
  help) reply=("--help" "-h" "--interactive" "--no-interactive" "-i" "--explode" "--no-explode" "-E" "--skip-version-check" "--skip-completion-check");;
76
- history) reply=("--help" "-h" "--interactive" "--no-interactive" "-i" "--explode" "--no-explode" "-E" "--skip-version-check" "--skip-completion-check" "--api-endpoint" "-e" "--insecure" "--no-insecure" "-I" "--pro" "--org" "--staging" "--token" "-t" "--debug" "--enterprise" "-X" "--adapter" "--repo" "-r" "--after" "-a" "--pull-request" "-p" "--branch" "-b" "--limit" "-l" "--all" "--no-all");;
76
+ history) reply=("--help" "-h" "--interactive" "--no-interactive" "-i" "--explode" "--no-explode" "-E" "--skip-version-check" "--skip-completion-check" "--api-endpoint" "-e" "--insecure" "--no-insecure" "-I" "--pro" "--org" "--staging" "--token" "-t" "--debug" "--enterprise" "-X" "--adapter" "--repo" "-r" "--after" "-a" "--pull-request" "-p" "--branch" "-b" "--limit" "-l" "--date" "-d" "--all" "--no-all");;
77
77
  init) reply=("--help" "-h" "--interactive" "--no-interactive" "-i" "--explode" "--no-explode" "-E" "--skip-version-check" "--skip-completion-check" "--api-endpoint" "-e" "--insecure" "--no-insecure" "-I" "--pro" "--org" "--staging" "--token" "-t" "--debug" "--enterprise" "-X" "--adapter" "--repo" "-r" "--skip-sync" "-s" "--force" "-f" "--skip-enable" "-k" "--print-conf" "-p" "--script" "--before-script" "--after-script" "--after-success" "--install" "--before-install" "--compiler" "--otp-release" "--go" "--jdk" "--node-js" "--perl" "--php" "--python" "--rvm" "--scala" "--env" "--gemfile");;
78
78
  login) reply=("--help" "-h" "--interactive" "--no-interactive" "-i" "--explode" "--no-explode" "-E" "--skip-version-check" "--skip-completion-check" "--api-endpoint" "-e" "--insecure" "--no-insecure" "-I" "--pro" "--org" "--staging" "--token" "-t" "--debug" "--enterprise" "-X" "--adapter" "--github-token" "--auto");;
79
79
  logout) reply=("--help" "-h" "--interactive" "--no-interactive" "-i" "--explode" "--no-explode" "-E" "--skip-version-check" "--skip-completion-check" "--api-endpoint" "-e" "--insecure" "--no-insecure" "-I" "--pro" "--org" "--staging" "--token" "-t" "--debug" "--enterprise" "-X" "--adapter");;
@@ -98,7 +98,7 @@ elif type complete 1>/dev/null 2>/dev/null; then
98
98
  complete -F _travis travis
99
99
  _travis() { _travis_complete "$COMP_CWORD" "${COMP_WORDS[1]}"; }
100
100
  _travis_commands() { COMPREPLY=( $(compgen -W "accounts branches cache cancel console disable enable encrypt endpoint help history init login logout logs monitor open pubkey raw report restart setup show status sync token version whatsup whoami" -- "${COMP_WORDS[COMP_CWORD]}") ); }
101
- _travis_setup() { COMPREPLY=( $(compgen -W "appfog cloudcontrol cloudfoundry engineyard heroku npm nodejitsu openshift pypi rubygems s sauce_connect" -- "${COMP_WORDS[COMP_CWORD]}") ); }
101
+ _travis_setup() { COMPREPLY=( $(compgen -W "appfog cloudcontrol cloudfiles cloudfoundry divshot engineyard heroku npm nodejitsu openshift pypi rubygems s sauce_connect" -- "${COMP_WORDS[COMP_CWORD]}") ); }
102
102
  _travis_init() { COMPREPLY=( $(compgen -W "c clojure cpp erlang go groovy haskell java node_js objective-c perl php python ruby scala" -- "${COMP_WORDS[COMP_CWORD]}") ); }
103
103
  _travis_option() {
104
104
  local options
@@ -113,7 +113,7 @@ elif type complete 1>/dev/null 2>/dev/null; then
113
113
  encrypt) options="--help -h --interactive --no-interactive -i --explode --no-explode -E --skip-version-check --skip-completion-check --api-endpoint -e --insecure --no-insecure -I --pro --org --staging --token -t --debug --enterprise -X --adapter --repo -r --add -a --split --no-split -s --append -p --override -x";;
114
114
  endpoint) options="--help -h --interactive --no-interactive -i --explode --no-explode -E --skip-version-check --skip-completion-check --api-endpoint -e --insecure --no-insecure -I --pro --org --staging --token -t --debug --enterprise -X --adapter --drop-default --set-default --github";;
115
115
  help) options="--help -h --interactive --no-interactive -i --explode --no-explode -E --skip-version-check --skip-completion-check";;
116
- history) options="--help -h --interactive --no-interactive -i --explode --no-explode -E --skip-version-check --skip-completion-check --api-endpoint -e --insecure --no-insecure -I --pro --org --staging --token -t --debug --enterprise -X --adapter --repo -r --after -a --pull-request -p --branch -b --limit -l --all --no-all";;
116
+ history) options="--help -h --interactive --no-interactive -i --explode --no-explode -E --skip-version-check --skip-completion-check --api-endpoint -e --insecure --no-insecure -I --pro --org --staging --token -t --debug --enterprise -X --adapter --repo -r --after -a --pull-request -p --branch -b --limit -l --date -d --all --no-all";;
117
117
  init) options="--help -h --interactive --no-interactive -i --explode --no-explode -E --skip-version-check --skip-completion-check --api-endpoint -e --insecure --no-insecure -I --pro --org --staging --token -t --debug --enterprise -X --adapter --repo -r --skip-sync -s --force -f --skip-enable -k --print-conf -p --script --before-script --after-script --after-success --install --before-install --compiler --otp-release --go --jdk --node-js --perl --php --python --rvm --scala --env --gemfile";;
118
118
  login) options="--help -h --interactive --no-interactive -i --explode --no-explode -E --skip-version-check --skip-completion-check --api-endpoint -e --insecure --no-insecure -I --pro --org --staging --token -t --debug --enterprise -X --adapter --github-token --auto";;
119
119
  logout) options="--help -h --interactive --no-interactive -i --explode --no-explode -E --skip-version-check --skip-completion-check --api-endpoint -e --insecure --no-insecure -I --pro --org --staging --token -t --debug --enterprise -X --adapter";;
@@ -9,6 +9,7 @@ module Travis
9
9
  on('-p', '--pull-request NUMBER', 'Only show history for the given Pull Request')
10
10
  on('-b', '--branch BRANCH', 'Only show history for the given branch')
11
11
  on('-l', '--limit LIMIT', 'Maximum number of history items')
12
+ on('-d', '--date', 'Include date in output')
12
13
  on('--[no-]all', 'Display all history items')
13
14
 
14
15
  def run
@@ -35,10 +36,11 @@ module Travis
35
36
 
36
37
  def display(build)
37
38
  say [
39
+ date? && color(formatter.time(build.finished_at || build.started_at), build.color),
38
40
  color("##{build.number} #{build.state}:".ljust(16), [build.color, :bold]),
39
- color("#{build.branch_info} ", :info),
41
+ color("#{build.branch_info}", :info),
40
42
  build.commit.subject
41
- ].join.strip + "\n"
43
+ ].compact.join(" ").strip + "\n"
42
44
  end
43
45
  end
44
46
  end
@@ -0,0 +1,20 @@
1
+ require 'travis/cli/setup'
2
+
3
+ module Travis
4
+ module CLI
5
+ class Setup
6
+ class CloudFiles < Service
7
+ description "automatic pushing to Rackspace Cloud Files"
8
+
9
+ def run
10
+ deploy 'cloudfiles' do |config|
11
+ config['username'] = ask("Rackspace Username: ").to_s
12
+ config['api_key'] = ask("Rackspace Api Key: ") { |q| q.echo = "*" }.to_s
13
+ config['region'] = ask("Cloud Files Region: ").to_s
14
+ config['container'] = ask("Container: ").to_s
15
+ end
16
+ end
17
+ end
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,18 @@
1
+ require 'travis/cli/setup'
2
+
3
+ module Travis
4
+ module CLI
5
+ class Setup
6
+ class Divshot < Service
7
+ description "deployment to Divshot.io"
8
+
9
+ def run
10
+ deploy 'divshot' do |config|
11
+ config['api_key'] = ask("Divshot Api Key: ") { |q| q.echo = "*" }.to_s
12
+ config['environment'] = ask("Divshot Environment: ").to_s
13
+ end
14
+ end
15
+ end
16
+ end
17
+ end
18
+ end
@@ -38,7 +38,7 @@ module Travis
38
38
  end
39
39
 
40
40
  def os_type
41
- @os_type ||= `uname`.chomp
41
+ @os_type ||= windows? ? 'Windows' : `uname`.chomp
42
42
  end
43
43
 
44
44
  def ruby_engine
@@ -3,7 +3,12 @@ require 'spec_helper'
3
3
  describe Travis::CLI::History do
4
4
  example 'travis history' do
5
5
  run_cli('history').should be_success
6
- stdout.should be == "#6180 failed: master Associaton -> Association\n"
6
+ stdout.should be == "#6180 failed: master Associaton -> Association\n"
7
+ end
8
+
9
+ example 'travis history -d' do
10
+ run_cli('history', '-d').should be_success
11
+ stdout.should be =~ /2013-01-13 \d+:55:17 #6180 failed: master Associaton -> Association/
7
12
  end
8
13
 
9
14
  example 'travis history -a 6180' do
@@ -13,7 +18,7 @@ describe Travis::CLI::History do
13
18
 
14
19
  example 'travis history -b master' do
15
20
  run_cli('history', '-b', 'master').should be_success
16
- stdout.should be == "#6180 failed: master Associaton -> Association\n"
21
+ stdout.should be == "#6180 failed: master Associaton -> Association\n"
17
22
  end
18
23
 
19
24
  example 'travis history -b not-master' do
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
18
18
  "Peter van Dijk",
19
19
  "Max Barnash",
20
20
  "Mathias Meyer",
21
- "Josh Kalderimis",
21
+ "joshua-anderson",
22
22
  "Justin Lambert",
23
23
  "Adrien Brault",
24
24
  "Laurent Petit",
@@ -31,7 +31,8 @@ Gem::Specification.new do |s|
31
31
  "Daniel Chatfield",
32
32
  "Adam Lavin",
33
33
  "Benjamin Manns",
34
- "Jacob Burkhart"
34
+ "Jacob Burkhart",
35
+ "Josh Kalderimis"
35
36
  ]
36
37
 
37
38
  # generated from git shortlog -sne
@@ -44,20 +45,21 @@ Gem::Specification.new do |s|
44
45
  "peter.van.dijk@netherlabs.nl",
45
46
  "i.am@anhero.ru",
46
47
  "meyer@paperplanes.de",
47
- "adam@lavoaster.co.uk",
48
- "laurent.petit@gmail.com",
48
+ "j@zatigo.com",
49
49
  "benmanns@gmail.com",
50
+ "adrien.brault@gmail.com",
51
+ "laurent.petit@gmail.com",
52
+ "maartenvanvliet@gmail.com",
50
53
  "mario@mariovisic.com",
51
54
  "neamar@neamar.fr",
52
55
  "drogus@gmail.com",
53
56
  "raphael.pinson@camptocamp.com",
54
57
  "tw@cloudcontrol.de",
55
- "maartenvanvliet@gmail.com",
58
+ "adam@lavoaster.co.uk",
56
59
  "chatfielddaniel@gmail.com",
57
60
  "jburkhart@engineyard.com",
58
61
  "josh.kalderimis@gmail.com",
59
- "jlambert@eml.cc",
60
- "adrien.brault@gmail.com"
62
+ "jlambert@eml.cc"
61
63
  ]
62
64
 
63
65
  # generated from git ls-files
@@ -125,7 +127,9 @@ Gem::Specification.new do |s|
125
127
  "lib/travis/cli/setup.rb",
126
128
  "lib/travis/cli/setup/appfog.rb",
127
129
  "lib/travis/cli/setup/cloud_control.rb",
130
+ "lib/travis/cli/setup/cloud_files.rb",
128
131
  "lib/travis/cli/setup/cloud_foundry.rb",
132
+ "lib/travis/cli/setup/divshot.rb",
129
133
  "lib/travis/cli/setup/engine_yard.rb",
130
134
  "lib/travis/cli/setup/heroku.rb",
131
135
  "lib/travis/cli/setup/nodejitsu.rb",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: travis
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.3.travis.381.4
4
+ version: 1.6.3.travis.384.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Haase
@@ -11,7 +11,7 @@ authors:
11
11
  - Peter van Dijk
12
12
  - Max Barnash
13
13
  - Mathias Meyer
14
- - Josh Kalderimis
14
+ - joshua-anderson
15
15
  - Justin Lambert
16
16
  - Adrien Brault
17
17
  - Laurent Petit
@@ -25,10 +25,11 @@ authors:
25
25
  - Adam Lavin
26
26
  - Benjamin Manns
27
27
  - Jacob Burkhart
28
+ - Josh Kalderimis
28
29
  autorequire:
29
30
  bindir: bin
30
31
  cert_chain: []
31
- date: 2013-11-19 00:00:00.000000000 Z
32
+ date: 2013-11-21 00:00:00.000000000 Z
32
33
  dependencies:
33
34
  - !ruby/object:Gem::Dependency
34
35
  name: faraday
@@ -236,20 +237,21 @@ email:
236
237
  - peter.van.dijk@netherlabs.nl
237
238
  - i.am@anhero.ru
238
239
  - meyer@paperplanes.de
239
- - adam@lavoaster.co.uk
240
- - laurent.petit@gmail.com
240
+ - j@zatigo.com
241
241
  - benmanns@gmail.com
242
+ - adrien.brault@gmail.com
243
+ - laurent.petit@gmail.com
244
+ - maartenvanvliet@gmail.com
242
245
  - mario@mariovisic.com
243
246
  - neamar@neamar.fr
244
247
  - drogus@gmail.com
245
248
  - raphael.pinson@camptocamp.com
246
249
  - tw@cloudcontrol.de
247
- - maartenvanvliet@gmail.com
250
+ - adam@lavoaster.co.uk
248
251
  - chatfielddaniel@gmail.com
249
252
  - jburkhart@engineyard.com
250
253
  - josh.kalderimis@gmail.com
251
254
  - jlambert@eml.cc
252
- - adrien.brault@gmail.com
253
255
  executables:
254
256
  - travis
255
257
  extensions: []
@@ -318,7 +320,9 @@ files:
318
320
  - lib/travis/cli/setup.rb
319
321
  - lib/travis/cli/setup/appfog.rb
320
322
  - lib/travis/cli/setup/cloud_control.rb
323
+ - lib/travis/cli/setup/cloud_files.rb
321
324
  - lib/travis/cli/setup/cloud_foundry.rb
325
+ - lib/travis/cli/setup/divshot.rb
322
326
  - lib/travis/cli/setup/engine_yard.rb
323
327
  - lib/travis/cli/setup/heroku.rb
324
328
  - lib/travis/cli/setup/nodejitsu.rb
@@ -418,7 +422,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
418
422
  version: 1.3.1
419
423
  requirements: []
420
424
  rubyforge_project:
421
- rubygems_version: 2.0.3
425
+ rubygems_version: 2.1.11
422
426
  signing_key:
423
427
  specification_version: 4
424
428
  summary: Travis CI client