travis 1.5.4 → 1.5.5
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 +4 -4
- data/README.md +10 -3
- data/completion/travis.sh +3 -3
- data/lib/travis/cli/setup.rb +2 -0
- data/lib/travis/cli/setup/npm.rb +20 -0
- data/lib/travis/cli/setup/pypi.rb +20 -0
- data/lib/travis/client/methods.rb +1 -1
- data/lib/travis/client/session.rb +1 -1
- data/lib/travis/version.rb +1 -1
- data/travis.gemspec +5 -3
- metadata +6 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5a045006c498b7a7008ef238ca47dd2bbfff1b72
|
4
|
+
data.tar.gz: c337fc9995e54280d6040b061e75b1d8680607e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7811cdc0af4479b597a753a0eeb893153ba2887dc245e92c09bc104721b35374880a36f54b559b5af73230ab89e01a2ffcf67584d3da7f23301fe78888b37cd8
|
7
|
+
data.tar.gz: d8175c8172c2286aea68488528962cc236bae307cd97907e438048e8e3c3f7cee29663e648f7cba05fdd8e1ce55146aa3bec289907d64c00c1e9b9ee768fe1ed
|
data/README.md
CHANGED
@@ -647,7 +647,7 @@ Helps you configure Travis addons.
|
|
647
647
|
-r, --repo SLUG repository to use (will try to detect from current git clone)
|
648
648
|
-f, --force override config section if it already exists
|
649
649
|
|
650
|
-
Available services: `cloudcontrol`, `cloudfoundry`, `engineyard`, `heroku`, `nodejitsu`, `openshift`, `rubygems` and `sauce_connect`.
|
650
|
+
Available services: `cloudcontrol`, `cloudfoundry`, `engineyard`, `heroku`, `nodejitsu`, `npm`, `openshift`, `pypi`, `rubygems` and `sauce_connect`.
|
651
651
|
|
652
652
|
Example:
|
653
653
|
|
@@ -1186,12 +1186,12 @@ You can check your Ruby version by running `ruby -v`:
|
|
1186
1186
|
|
1187
1187
|
Then run:
|
1188
1188
|
|
1189
|
-
$ gem install travis -v 1.5.
|
1189
|
+
$ gem install travis -v 1.5.5 --no-rdoc --no-ri
|
1190
1190
|
|
1191
1191
|
Now make sure everything is working:
|
1192
1192
|
|
1193
1193
|
$ travis version
|
1194
|
-
1.5.
|
1194
|
+
1.5.5
|
1195
1195
|
|
1196
1196
|
### Updating your Ruby
|
1197
1197
|
|
@@ -1238,6 +1238,13 @@ If you have the old `travis-cli` gem installed, you should `gem uninstall travis
|
|
1238
1238
|
|
1239
1239
|
## Version History
|
1240
1240
|
|
1241
|
+
**1.5.5** (October 2, 2013)
|
1242
|
+
|
1243
|
+
* Add `travis setup pypi`
|
1244
|
+
* Add `travis setup npm`
|
1245
|
+
* When loading accounts, set all flag to true.
|
1246
|
+
* Fix bug where session.config would be nil instead of a hash.
|
1247
|
+
|
1241
1248
|
**1.5.4** (September 7, 2013)
|
1242
1249
|
|
1243
1250
|
* Make `travis monitor` send out desktop notifications.
|
data/completion/travis.sh
CHANGED
@@ -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" 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" 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" 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=(cloudcontrol:"automatic deployment to cloudControl" cloudfoundry:"automatic deployment to Cloud Foundry" engineyard:"automatic deployment to Engine Yard" heroku:"automatic deployment to Heroku" nodejitsu:"automatic deployment to Nodejitsu" openshift:"automatic deployment to OpenShfit" rubygems:"automatic release to RubyGems" sauce_connect:"Sauce Connet addon for Sauce Labs integration") _describe -t common-commands 'common commands' list; }
|
23
|
+
_travis_setup() { list=(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" 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
|
@@ -56,7 +56,7 @@ elif type compctl 1>/dev/null 2>/dev/null; then
|
|
56
56
|
compctl -K _travis travis
|
57
57
|
_travis() { read -cA words && _travis_complete $((${#words} - 1)) "${words[2]}"; }
|
58
58
|
_travis_commands() { reply=("accounts" "branches" "cancel" "console" "disable" "enable" "encrypt" "endpoint" "help" "history" "init" "login" "logs" "monitor" "open" "pubkey" "raw" "restart" "setup" "show" "status" "sync" "token" "version" "whatsup" "whoami"); }
|
59
|
-
_travis_setup() { reply=("cloudcontrol" "cloudfoundry" "engineyard" "heroku" "nodejitsu" "openshift" "rubygems" "sauce_connect"); }
|
59
|
+
_travis_setup() { reply=("cloudcontrol" "cloudfoundry" "engineyard" "heroku" "npm" "nodejitsu" "openshift" "pypi" "rubygems" "sauce_connect"); }
|
60
60
|
_travis_init() { reply=("c" "clojure" "cpp" "erlang" "go" "groovy" "haskell" "java" "node_js" "objective-c" "perl" "php" "python" "ruby" "scala"); }
|
61
61
|
_travis_option() {
|
62
62
|
case "${words[2]}" in
|
@@ -92,7 +92,7 @@ elif type complete 1>/dev/null 2>/dev/null; then
|
|
92
92
|
complete -F _travis travis
|
93
93
|
_travis() { _travis_complete "$COMP_CWORD" "${COMP_WORDS[1]}"; }
|
94
94
|
_travis_commands() { COMPREPLY=( $(compgen -W "accounts branches cancel console disable enable encrypt endpoint help history init login logs monitor open pubkey raw restart setup show status sync token version whatsup whoami" -- "${COMP_WORDS[COMP_CWORD]}") ); }
|
95
|
-
_travis_setup() { COMPREPLY=( $(compgen -W "cloudcontrol cloudfoundry engineyard heroku nodejitsu openshift rubygems sauce_connect" -- "${COMP_WORDS[COMP_CWORD]}") ); }
|
95
|
+
_travis_setup() { COMPREPLY=( $(compgen -W "cloudcontrol cloudfoundry engineyard heroku npm nodejitsu openshift pypi rubygems sauce_connect" -- "${COMP_WORDS[COMP_CWORD]}") ); }
|
96
96
|
_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]}") ); }
|
97
97
|
_travis_option() {
|
98
98
|
local options
|
data/lib/travis/cli/setup.rb
CHANGED
@@ -8,7 +8,9 @@ module Travis
|
|
8
8
|
autoload :EngineYard, 'travis/cli/setup/engine_yard'
|
9
9
|
autoload :Heroku, 'travis/cli/setup/heroku'
|
10
10
|
autoload :Nodejitsu, 'travis/cli/setup/nodejitsu'
|
11
|
+
autoload :NPM, 'travis/cli/setup/npm'
|
11
12
|
autoload :OpenShift, 'travis/cli/setup/open_shift'
|
13
|
+
autoload :PyPI, 'travis/cli/setup/pypi'
|
12
14
|
autoload :RubyGems, 'travis/cli/setup/ruby_gems'
|
13
15
|
autoload :SauceConnect, 'travis/cli/setup/sauce_connect'
|
14
16
|
autoload :Service, 'travis/cli/setup/service'
|
@@ -0,0 +1,20 @@
|
|
1
|
+
require 'travis/cli/setup'
|
2
|
+
|
3
|
+
module Travis
|
4
|
+
module CLI
|
5
|
+
class Setup
|
6
|
+
class NPM < Service
|
7
|
+
description "automatic release to NPM"
|
8
|
+
|
9
|
+
def run
|
10
|
+
deploy 'npm', 'release' do |config|
|
11
|
+
config['email'] ||= ask("NPM email address: ") { |q| q }.to_s
|
12
|
+
config['api_key'] ||= ask("NPM api key: ") { |q| q.echo = "*" }.to_s
|
13
|
+
|
14
|
+
on("release only tagged commits? ", config, 'tags' => true)
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
require 'travis/cli/setup'
|
2
|
+
|
3
|
+
module Travis
|
4
|
+
module CLI
|
5
|
+
class Setup
|
6
|
+
class PyPI < Service
|
7
|
+
description "automatic deployment to PyPI"
|
8
|
+
|
9
|
+
def run
|
10
|
+
deploy 'pypi', 'release' do |config|
|
11
|
+
config['user'] ||= ask("Username: ").to_s
|
12
|
+
config['password'] ||= ask("Password: ") { |q| q.echo = "*" }.to_s
|
13
|
+
|
14
|
+
on("release only tagged commits? ", config, 'tags' => true)
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
data/lib/travis/version.rb
CHANGED
data/travis.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
Gem::Specification.new do |s|
|
3
3
|
# general infos
|
4
4
|
s.name = "travis"
|
5
|
-
s.version = "1.5.
|
5
|
+
s.version = "1.5.5"
|
6
6
|
s.description = "CLI and Ruby client library for Travis CI"
|
7
7
|
s.homepage = "https://github.com/travis-ci/travis"
|
8
8
|
s.summary = "Travis CI client"
|
@@ -15,8 +15,8 @@ Gem::Specification.new do |s|
|
|
15
15
|
"Konstantin Haase",
|
16
16
|
"Henrik Hodne",
|
17
17
|
"Peter Souter",
|
18
|
-
"Max Barnash",
|
19
18
|
"Aaron Hill",
|
19
|
+
"Max Barnash",
|
20
20
|
"Mathias Meyer",
|
21
21
|
"Jacob Burkhart",
|
22
22
|
"Josh Kalderimis",
|
@@ -37,8 +37,8 @@ Gem::Specification.new do |s|
|
|
37
37
|
"konstantin.mailinglists@googlemail.com",
|
38
38
|
"me@henrikhodne.com",
|
39
39
|
"p.morsou@gmail.com",
|
40
|
-
"i.am@anhero.ru",
|
41
40
|
"aa1ronham@gmail.com",
|
41
|
+
"i.am@anhero.ru",
|
42
42
|
"meyer@paperplanes.de",
|
43
43
|
"josh.kalderimis@gmail.com",
|
44
44
|
"jlambert@eml.cc",
|
@@ -110,7 +110,9 @@ Gem::Specification.new do |s|
|
|
110
110
|
"lib/travis/cli/setup/engine_yard.rb",
|
111
111
|
"lib/travis/cli/setup/heroku.rb",
|
112
112
|
"lib/travis/cli/setup/nodejitsu.rb",
|
113
|
+
"lib/travis/cli/setup/npm.rb",
|
113
114
|
"lib/travis/cli/setup/open_shift.rb",
|
115
|
+
"lib/travis/cli/setup/pypi.rb",
|
114
116
|
"lib/travis/cli/setup/ruby_gems.rb",
|
115
117
|
"lib/travis/cli/setup/sauce_connect.rb",
|
116
118
|
"lib/travis/cli/setup/service.rb",
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: travis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Konstantin Haase
|
8
8
|
- Henrik Hodne
|
9
9
|
- Peter Souter
|
10
|
-
- Max Barnash
|
11
10
|
- Aaron Hill
|
11
|
+
- Max Barnash
|
12
12
|
- Mathias Meyer
|
13
13
|
- Jacob Burkhart
|
14
14
|
- Josh Kalderimis
|
@@ -25,7 +25,7 @@ authors:
|
|
25
25
|
autorequire:
|
26
26
|
bindir: bin
|
27
27
|
cert_chain: []
|
28
|
-
date: 2013-
|
28
|
+
date: 2013-10-02 00:00:00.000000000 Z
|
29
29
|
dependencies:
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: faraday
|
@@ -234,8 +234,8 @@ email:
|
|
234
234
|
- konstantin.mailinglists@googlemail.com
|
235
235
|
- me@henrikhodne.com
|
236
236
|
- p.morsou@gmail.com
|
237
|
-
- i.am@anhero.ru
|
238
237
|
- aa1ronham@gmail.com
|
238
|
+
- i.am@anhero.ru
|
239
239
|
- meyer@paperplanes.de
|
240
240
|
- josh.kalderimis@gmail.com
|
241
241
|
- jlambert@eml.cc
|
@@ -309,7 +309,9 @@ files:
|
|
309
309
|
- lib/travis/cli/setup/engine_yard.rb
|
310
310
|
- lib/travis/cli/setup/heroku.rb
|
311
311
|
- lib/travis/cli/setup/nodejitsu.rb
|
312
|
+
- lib/travis/cli/setup/npm.rb
|
312
313
|
- lib/travis/cli/setup/open_shift.rb
|
314
|
+
- lib/travis/cli/setup/pypi.rb
|
313
315
|
- lib/travis/cli/setup/ruby_gems.rb
|
314
316
|
- lib/travis/cli/setup/sauce_connect.rb
|
315
317
|
- lib/travis/cli/setup/service.rb
|