dpl 1.9.1.travis.2592.5 → 1.9.1.travis.2603.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +26 -15
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1867400976291c5c251a02c550ae19cb319397421240a1771a9d9493800d8d63
|
4
|
+
data.tar.gz: ce5403b64a795012653d5e38411b3d8adc8f71289fee210b42fdecb0de5f32c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9adda3fa24c79d4237da837fac24b0dbe9f10a47342a4fa7c689beef073680601d88740163fd0d1f2d3fc48e3943de21ee70ba2a27099c3811f0163306b6e71b
|
7
|
+
data.tar.gz: 0a670c9cc1f213dabb153aa60817da50d8e8ac5c85149cf1457381cbb9af23a068ee1248d2ba9554f012e9b7b93fb6539f15bc0cf773f8ee27ccd3bb64c75680
|
data/.travis.yml
CHANGED
@@ -12,18 +12,30 @@ jobs:
|
|
12
12
|
install: true
|
13
13
|
script: true
|
14
14
|
cache:
|
15
|
+
before_deploy:
|
16
|
+
- sed -i.bak "s/VERSION = '.*'/VERSION = '${DPL_VERSION}'/g" lib/dpl/version.rb
|
15
17
|
deploy:
|
16
|
-
provider: rubygems
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
18
|
+
- provider: rubygems
|
19
|
+
api_key:
|
20
|
+
secure: ZmZoDL1tilWvQrqRWDm2K4xQ5Grt9eRJzYVZPLANR0P1TM5BJBLk+UhWCWCPkkDVIBWMa5ANsiFYBxtH65Lw+uqMztSpVusk0l0LQXZGv9jMpT9445A8008U3vvfS0ke7IG8Q4bMAC7Sd6VGaiHDyZC7zmNvnqMpmVX7ShcgBME=
|
21
|
+
gem: dpl
|
22
|
+
edge:
|
23
|
+
branch: v1.9
|
24
|
+
on:
|
25
|
+
repo: travis-ci/dpl
|
26
|
+
rvm: 2.3.6
|
27
|
+
branch: v1.9
|
28
|
+
- provider: rubygems
|
29
|
+
api_key:
|
30
|
+
secure: ZmZoDL1tilWvQrqRWDm2K4xQ5Grt9eRJzYVZPLANR0P1TM5BJBLk+UhWCWCPkkDVIBWMa5ANsiFYBxtH65Lw+uqMztSpVusk0l0LQXZGv9jMpT9445A8008U3vvfS0ke7IG8Q4bMAC7Sd6VGaiHDyZC7zmNvnqMpmVX7ShcgBME=
|
31
|
+
gem: dpl
|
32
|
+
edge:
|
33
|
+
branch: v1.9
|
34
|
+
gemspec_glob: 'dpl*.gemspec'
|
35
|
+
on:
|
36
|
+
repo: travis-ci/dpl
|
37
|
+
rvm: 2.3.6
|
38
|
+
branch: v1.9
|
27
39
|
|
28
40
|
env:
|
29
41
|
global:
|
@@ -34,14 +46,13 @@ sudo: false
|
|
34
46
|
cache:
|
35
47
|
directories:
|
36
48
|
- vendor/cache
|
37
|
-
- install
|
38
49
|
|
39
50
|
before_install:
|
40
51
|
- gem update bundler
|
41
52
|
|
42
53
|
script:
|
43
54
|
- bundle exec rspec spec/cli_spec.rb spec/provider_spec.rb
|
44
|
-
- gem build dpl.gemspec && gem install
|
55
|
+
- gem build dpl.gemspec && gem install dpl-*.gem
|
45
56
|
- echo -e "\n${ANSI_GREEN}Run specs${ANSI_RESET}"
|
46
57
|
- |
|
47
58
|
spec_errors=0
|
@@ -50,7 +61,7 @@ script:
|
|
50
61
|
echo -e "\n${ANSI_GREEN}${base}${ANSI_RESET}\n"
|
51
62
|
echo -e "source 'https://rubygems.org'\ngemspec :name => \"dpl-${name}\"" > Gemfile-${name}
|
52
63
|
export BUNDLE_GEMFILE=Gemfile-${name}
|
53
|
-
bundle install --gemfile Gemfile-${name} --path=vendor/cache/dpl-${name} --binstubs=bin && ./bin/rspec spec/provider/${name}_spec.rb || (
|
64
|
+
bundle install --gemfile Gemfile-${name} --path=vendor/cache/dpl-${name} --binstubs=bin && ./bin/rspec spec/provider/${name}_spec.rb || (echo -e "${ANSI_RED}${name} specs failed${ANSI_RESET}" && let spec_errors=$spec_errors+1)
|
54
65
|
done
|
55
66
|
test $spec_errors -eq 0
|
56
67
|
- echo -e "\n${ANSI_GREEN}Install gem and invoke dpl${ANSI_RESET}"
|
@@ -60,7 +71,7 @@ script:
|
|
60
71
|
for f in dpl-*.gemspec; do
|
61
72
|
base=${f%*.gemspec}; name=${base#dpl-*}
|
62
73
|
echo -e "\n${ANSI_GREEN}${base}${ANSI_RESET}\n"
|
63
|
-
gem build --silent $f && gem install --install-
|
74
|
+
gem build --silent $f && gem install --no-post-install-message dpl-${name}-*.gem && ( dpl --provider=${name} --no-deploy ) || (echo -e "${ANSI_RED}${name} invocation failed${ANSI_RESET}" && let no_err=$no_err+1)
|
64
75
|
done
|
65
76
|
test $no_err -eq 0
|
66
77
|
# - bundle exec rake && gem build dpl.gemspec && gem install dpl-*.gem && dpl --provider=script --script='echo foo'
|