forked from mollie/spree-mollie-gateway
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (36 loc) · 2.19 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
sudo: false
dist: trusty
language: ruby
cache: bundler
rvm:
- 2.3.8
- 2.4.4
- 2.5.1
gemfile:
- gemfiles/spree_3_5.gemfile
- gemfiles/spree_3_6.gemfile
- gemfiles/spree_3_7.gemfile
# Use legacy bundler (1.x) when using Ruby 2.3.x
before_install:
- if [ "USE_LEGACY_BUNDLER" != "false" ]; then gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true; fi
- if [ "USE_LEGACY_BUNDLER" != "false" ]; then gem install bundler -v '< 2'; fi
# Allow failing tests against Spree 3.7.x for now
matrix:
allow_failures:
- gemfile: gemfiles/spree_3_7.gemfile
script:
- bundle exec rake test_app
- bundle exec rake spec
deploy:
provider: rubygems
gem: spree_mollie_gateway
on:
tags: true
repo: mollie/spree-mollie-gateway
rvm: 2.5.1
gemfile: gemfiles/spree_3_6.gemfile
api_key:
secure: N3+LevY4HZd57cmwfIy6a+E/wX/jCD9Pnqq41/kr6I6iLIMz5xWoU0iDEZEXGhTWmId5O0zxTl2o3w4PiVkH4Onmufv3oLOONexrJeIF5cx/TdWpY36RycA2euVvOGVYMNWGIhslCern4zc8pOTwGpmm8DD8qPTQAV1JPXzbPEiXkxJX0KYm1Vb6v4GTW0q2ghvqY3fzgNaJKVQoEXVrOaXMd/dJDQRjBzbzfF8V2Z779kfOfV5PV/jqheq4bXQYMDBKQUHuTvRMNx0tF4mGgHANp1AXMS4GVbYNyAQNmyd3QnkJHSdKthTTe6nwQoH7oloY4Dbd89fG7Yx7I/kt2Aip3pHMts+4/oVN6QPqe0xe11TeC6yRhi/357I+DCzIk1aRGJ9lkpGQnM+oB54N0yw+htvsd7WE2ac57ixVG0ni39IQciQJ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