travis 1.8.1.travis.693.5 → 1.8.1.travis.696.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.md +1 -1
- data/assets/travis.sh +3 -3
- data/lib/travis/cli/setup.rb +1 -0
- data/lib/travis/cli/setup/anynines.rb +21 -0
- data/travis.gemspec +1 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NjRhZmQ2NWVmNDAxYWM4ZjIxZmUwODZiZTNmYmUwMWI0MzM3ZTc1NA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YzQ0Nzc1YTkyYjBiMTIxOWY3OTU1YjAwYzllNTliM2ZjNWE2YThjMQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OWEyYzJjY2Y4NTc1Y2YzNjBmYjM2MmY1YWQyOGU1MDQ3ZWVkNzE5MmRiM2U3
|
10
|
+
MWZmNDQ2NzYzYmQxMzE3OTNjNWIwOTUyMWQ0Mzg5MzRjZDA4NzI5NTlkYmVh
|
11
|
+
OWUzNmQ3MDVjM2IxZTc2NDJkNWNhZGEyOTQxMTQ4OGFlZGQ3NWI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NTI1NzE5ZTA1Y2U2YjY4MGI4MDZjOTM3OGEwNzFkY2RmNzhjODk3Y2I1OGI3
|
14
|
+
ZjM2MDM5OTJlZmQ5M2JhZjdjODcyYzBmZmQxMDIxMDUyODFlMGI0ODU0NWMw
|
15
|
+
YjZhZWNmYWVhNDJmMDlhYTc0ODY5NDlmODNmMWM4M2FjNGNlMGY=
|
data/README.md
CHANGED
@@ -1220,7 +1220,7 @@ Helps you configure Travis addons.
|
|
1220
1220
|
-R, --store-repo SLUG like --repo, but remembers value for current directory
|
1221
1221
|
-f, --force override config section if it already exists
|
1222
1222
|
|
1223
|
-
Available services: `appfog`, `artifacts`, `biicode`, `cloudcontrol`, `cloudfiles`, `cloudfoundry`, `cloud66`, `codedeploy`, `deis`, `divshot`, `elasticbeanstalk`, `engineyard`, `gcs`, `hackage`, `heroku`, `modulus`, `npm`, `ninefold`, `nodejitsu`, `openshift`, `opsworks`, `pypi`, `releases`, `rubygems`, `s3` and `sauce_connect`.
|
1223
|
+
Available services: `anynines`, `appfog`, `artifacts`, `biicode`, `cloudcontrol`, `cloudfiles`, `cloudfoundry`, `cloud66`, `codedeploy`, `deis`, `divshot`, `elasticbeanstalk`, `engineyard`, `gcs`, `hackage`, `heroku`, `modulus`, `npm`, `ninefold`, `nodejitsu`, `openshift`, `opsworks`, `pypi`, `releases`, `rubygems`, `s3` and `sauce_connect`.
|
1224
1224
|
|
1225
1225
|
Example:
|
1226
1226
|
|
data/assets/travis.sh
CHANGED
@@ -21,7 +21,7 @@ if type compdef 1>/dev/null 2>/dev/null; then
|
|
21
21
|
compdef _travis travis
|
22
22
|
_travis() { _travis_complete $((${#words} - 1)) "${words[2]}"; }
|
23
23
|
_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" encrypt-file:"encrypts a file and adds decryption steps to .travis.yml" endpoint:"displays or changes the API endpoint" env:"show or modify build environment variables" 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" lint:"display warnings for a .travis.yml" 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" repos:"lists repositories the user has certain permissions on" requests:"lists recent requests" restart:"restarts a build or job" settings:"access repository settings" setup:"sets up an addon or deploy target" show:"displays a build or job" sshkey:"checks, updates or deletes an SSH key" 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; }
|
24
|
-
_travis_setup() { list=(appfog:"automatic deployment to Appfog" artifacts:"automatic artifact shipping to S3" biicode:"automatic publish to biicode" cloudcontrol:"automatic deployment to cloudControl" cloudfiles:"automatic pushing to Rackspace Cloud Files" cloudfoundry:"automatic deployment to Cloud Foundry" cloud66:"Automatic deployment to Cloud 66" codedeploy:"triggering a new deployment on Amazon CodeDeploy" deis:"automatic deployment to a deis app" divshot:"deployment to Divshot.io" elasticbeanstalk:"deployment to AWS Elastic Beanstalk" engineyard:"automatic deployment to Engine Yard" gcs:"automatic pushing to Google Cloud Storage" hackage:"automatic deployment of hackage packages" heroku:"automatic deployment to Heroku" modulus:"deployment to Modulus" npm:"automatic release to NPM" ninefold:"Automatic deployment to Ninefold" nodejitsu:"automatic deployment to Nodejitsu" openshift:"automatic deployment to OpenShfit" opsworks:"deployment to OpsWorks" pypi:"automatic deployment to PyPI" releases:"Upload Assets to GitHub Releases" rubygems:"automatic release to RubyGems" s3:"automatic pushing to S3" sauce_connect:"Sauce Connet addon for Sauce Labs integration") _describe -t common-commands 'common commands' list; }
|
24
|
+
_travis_setup() { list=(anynines: "automatic deployment to anynines" appfog:"automatic deployment to Appfog" artifacts:"automatic artifact shipping to S3" biicode:"automatic publish to biicode" cloudcontrol:"automatic deployment to cloudControl" cloudfiles:"automatic pushing to Rackspace Cloud Files" cloudfoundry:"automatic deployment to Cloud Foundry" cloud66:"Automatic deployment to Cloud 66" codedeploy:"triggering a new deployment on Amazon CodeDeploy" deis:"automatic deployment to a deis app" divshot:"deployment to Divshot.io" elasticbeanstalk:"deployment to AWS Elastic Beanstalk" engineyard:"automatic deployment to Engine Yard" gcs:"automatic pushing to Google Cloud Storage" hackage:"automatic deployment of hackage packages" heroku:"automatic deployment to Heroku" modulus:"deployment to Modulus" npm:"automatic release to NPM" ninefold:"Automatic deployment to Ninefold" nodejitsu:"automatic deployment to Nodejitsu" openshift:"automatic deployment to OpenShfit" opsworks:"deployment to OpsWorks" pypi:"automatic deployment to PyPI" releases:"Upload Assets to GitHub Releases" rubygems:"automatic release to RubyGems" s3:"automatic pushing to S3" sauce_connect:"Sauce Connet addon for Sauce Labs integration") _describe -t common-commands 'common commands' list; }
|
25
25
|
_travis_settings() { list=(builds_only_with_travis_yml:"Only run builds with a .travis.yml" build_pushes:"Build pushes" build_pull_requests:"Build pull requests" maximum_number_of_builds:"Maximum number of concurrent builds") _describe -t common-commands 'common commands' list; }
|
26
26
|
_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; }
|
27
27
|
_travis_option() {
|
@@ -68,7 +68,7 @@ elif type compctl 1>/dev/null 2>/dev/null; then
|
|
68
68
|
compctl -K _travis travis
|
69
69
|
_travis() { read -cA words && _travis_complete $((${#words} - 1)) "${words[2]}"; }
|
70
70
|
_travis_commands() { reply=("accounts" "branches" "cache" "cancel" "console" "disable" "enable" "encrypt" "encrypt-file" "endpoint" "env" "help" "history" "init" "lint" "login" "logout" "logs" "monitor" "open" "pubkey" "raw" "report" "repos" "requests" "restart" "settings" "setup" "show" "sshkey" "status" "sync" "token" "version" "whatsup" "whoami"); }
|
71
|
-
_travis_setup() { reply=("appfog" "artifacts" "biicode" "cloudcontrol" "cloudfiles" "cloudfoundry" "cloud66" "codedeploy" "deis" "divshot" "elasticbeanstalk" "engineyard" "gcs" "hackage" "heroku" "modulus" "npm" "ninefold" "nodejitsu" "openshift" "opsworks" "pypi" "releases" "rubygems" "s3" "sauce_connect"); }
|
71
|
+
_travis_setup() { reply=("anynines" "appfog" "artifacts" "biicode" "cloudcontrol" "cloudfiles" "cloudfoundry" "cloud66" "codedeploy" "deis" "divshot" "elasticbeanstalk" "engineyard" "gcs" "hackage" "heroku" "modulus" "npm" "ninefold" "nodejitsu" "openshift" "opsworks" "pypi" "releases" "rubygems" "s3" "sauce_connect"); }
|
72
72
|
_travis_settings() { reply=(builds_only_with_travis_yml build_pushes build_pull_requests maximum_number_of_builds); }
|
73
73
|
_travis_init() { reply=("c" "clojure" "cpp" "erlang" "go" "groovy" "haskell" "java" "node_js" "objective-c" "perl" "php" "python" "ruby" "scala"); }
|
74
74
|
_travis_option() {
|
@@ -115,7 +115,7 @@ elif type complete 1>/dev/null 2>/dev/null; then
|
|
115
115
|
complete -F _travis travis
|
116
116
|
_travis() { _travis_complete "$COMP_CWORD" "${COMP_WORDS[1]}"; }
|
117
117
|
_travis_commands() { COMPREPLY=( $(compgen -W "accounts branches cache cancel console disable enable encrypt encrypt-file endpoint env help history init lint login logout logs monitor open pubkey raw report repos requests restart settings setup show sshkey status sync token version whatsup whoami" -- "${COMP_WORDS[COMP_CWORD]}") ); }
|
118
|
-
_travis_setup() { COMPREPLY=( $(compgen -W "appfog artifacts biicode cloudcontrol cloudfiles cloudfoundry cloud66 codedeploy deis divshot elasticbeanstalk engineyard gcs hackage heroku modulus npm ninefold nodejitsu openshift opsworks pypi releases rubygems s3 sauce_connect" -- "${COMP_WORDS[COMP_CWORD]}") ); }
|
118
|
+
_travis_setup() { COMPREPLY=( $(compgen -W "anynines appfog artifacts biicode cloudcontrol cloudfiles cloudfoundry cloud66 codedeploy deis divshot elasticbeanstalk engineyard gcs hackage heroku modulus npm ninefold nodejitsu openshift opsworks pypi releases rubygems s3 sauce_connect" -- "${COMP_WORDS[COMP_CWORD]}") ); }
|
119
119
|
_travis_settings() { COMPREPLY=( $(compgen -W "builds_only_with_travis_yml build_pushes build_pull_requests maximum_number_of_builds" -- "${COMP_WORDS[COMP_CWORD]}") ); }
|
120
120
|
_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]}") ); }
|
121
121
|
_travis_option() {
|
data/lib/travis/cli/setup.rb
CHANGED
@@ -3,6 +3,7 @@ require 'travis/cli'
|
|
3
3
|
module Travis
|
4
4
|
module CLI
|
5
5
|
class Setup < RepoCommand
|
6
|
+
autoload :Anynines, 'travis/cli/setup/anynines'
|
6
7
|
autoload :Appfog, 'travis/cli/setup/appfog'
|
7
8
|
autoload :Artifacts, 'travis/cli/setup/artifacts'
|
8
9
|
autoload :Biicode, 'travis/cli/setup/biicode'
|
@@ -0,0 +1,21 @@
|
|
1
|
+
require 'travis/cli/setup'
|
2
|
+
|
3
|
+
module Travis
|
4
|
+
module CLI
|
5
|
+
class Setup
|
6
|
+
class Anynines < Service
|
7
|
+
description "automatic deployment to anynines"
|
8
|
+
|
9
|
+
def run
|
10
|
+
deploy 'anynines' do |config|
|
11
|
+
config['username'] ||= ask("anynines username: ").to_s
|
12
|
+
config['password'] ||= ask("anynines password: ") { |q| q.echo = "*" }.to_s
|
13
|
+
config['organization'] ||= ask("anynines organization: ").to_s
|
14
|
+
config['space'] ||= ask("anynines space: ").to_s
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
data/travis.gemspec
CHANGED
@@ -175,6 +175,7 @@ Gem::Specification.new do |s|
|
|
175
175
|
"lib/travis/cli/restart.rb",
|
176
176
|
"lib/travis/cli/settings.rb",
|
177
177
|
"lib/travis/cli/setup.rb",
|
178
|
+
"lib/travis/cli/setup/anynines.rb",
|
178
179
|
"lib/travis/cli/setup/appfog.rb",
|
179
180
|
"lib/travis/cli/setup/artifacts.rb",
|
180
181
|
"lib/travis/cli/setup/biicode.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.8.1.travis.
|
4
|
+
version: 1.8.1.travis.696.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Konstantin Haase
|
@@ -50,7 +50,7 @@ authors:
|
|
50
50
|
autorequire:
|
51
51
|
bindir: bin
|
52
52
|
cert_chain: []
|
53
|
-
date: 2015-
|
53
|
+
date: 2015-09-02 00:00:00.000000000 Z
|
54
54
|
dependencies:
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: faraday
|
@@ -352,6 +352,7 @@ files:
|
|
352
352
|
- lib/travis/cli/restart.rb
|
353
353
|
- lib/travis/cli/settings.rb
|
354
354
|
- lib/travis/cli/setup.rb
|
355
|
+
- lib/travis/cli/setup/anynines.rb
|
355
356
|
- lib/travis/cli/setup/appfog.rb
|
356
357
|
- lib/travis/cli/setup/artifacts.rb
|
357
358
|
- lib/travis/cli/setup/biicode.rb
|