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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +26 -15
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 98105f341da95db166dc571759c25a8f80d0053987216f747c1c39c4968701c0
4
- data.tar.gz: 64b1aab06e24b06ceeabb1023385abe9d545d39cc396e49236259df5c07efde9
3
+ metadata.gz: 1867400976291c5c251a02c550ae19cb319397421240a1771a9d9493800d8d63
4
+ data.tar.gz: ce5403b64a795012653d5e38411b3d8adc8f71289fee210b42fdecb0de5f32c1
5
5
  SHA512:
6
- metadata.gz: 2707f1b33cd7c12dc42db900b877ce9506c10e5801ce3e9e229ce21512536687db29fc8a16462999e3e3060339f4d8ee8dc05fc9f5a74c4816c72dfab427ade1
7
- data.tar.gz: 27d1f17f78f0986a5e75de78001c67974fcf9cf04457106308b35367f450902f86b71f51716b937250d019c2f057f780991129c81b08f6efa15834e7c3f36828
6
+ metadata.gz: 9adda3fa24c79d4237da837fac24b0dbe9f10a47342a4fa7c689beef073680601d88740163fd0d1f2d3fc48e3943de21ee70ba2a27099c3811f0163306b6e71b
7
+ data.tar.gz: 0a670c9cc1f213dabb153aa60817da50d8e8ac5c85149cf1457381cbb9af23a068ee1248d2ba9554f012e9b7b93fb6539f15bc0cf773f8ee27ccd3bb64c75680
@@ -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
- api_key:
18
- secure: ZmZoDL1tilWvQrqRWDm2K4xQ5Grt9eRJzYVZPLANR0P1TM5BJBLk+UhWCWCPkkDVIBWMa5ANsiFYBxtH65Lw+uqMztSpVusk0l0LQXZGv9jMpT9445A8008U3vvfS0ke7IG8Q4bMAC7Sd6VGaiHDyZC7zmNvnqMpmVX7ShcgBME=
19
- gem: dpl
20
- edge:
21
- branch: v1.9
22
- gemspec_glob: 'dpl*.gemspec'
23
- on:
24
- repo: travis-ci/dpl
25
- rvm: 2.3.6
26
- branch: v1.9
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 --install-dir=install dpl-*.gem
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 || ( echo -e "${ANSI_RED}${name} specs failed${ANSI_RESET}" && let spec_errors=$spec_errors+1 )
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-dir=install dpl-${name}-*.gem && ( dpl --provider=${name} --no-deploy ) || ( echo -e "${ANSI_RED}${name} invocation failed${ANSI_RESET}" && let no_err=$no_err+1 )
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'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dpl
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.1.travis.2592.5
4
+ version: 1.9.1.travis.2603.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Haase