File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,14 @@ rvm: 2.6.5
7
7
8
8
script : " bundle exec rake knapsack:rspec"
9
9
10
+ addons :
11
+ - snaps :
12
+ - name : docker
13
+ channel : latest/beta
14
+
10
15
env :
11
16
global :
17
+ - PATH=/snap/bin:$PATH
12
18
- RUBY_GC_MALLOC_LIMIT=90000000
13
19
- RUBY_GC_HEAP_FREE_SLOTS=200000
14
20
- CI_NODE_TOTAL=3
33
39
before_script : echo skip
34
40
script : make ship
35
41
if : commit_message =~ /ship:docker/ OR env(SHIP_DOCKER) = true
42
+
43
+ deploy :
44
+ - provider : script
45
+ script : make ship
46
+ on :
47
+ branch : master
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ docker-push-branch:
48
48
.PHONY : ship
49
49
ship : docker-build docker-login
50
50
51
- ifeq ($(BRANCH ) ,master)
51
+ ifeq ($(TRAVIS_BRANCH ) ,master)
52
52
ifeq ($(TRAVIS_PULL_REQUEST ) ,false)
53
53
ship : docker-push-latest-master
54
54
endif
You can’t perform that action at this time.
0 commit comments