Skip to content

Commit b109aaa

Browse files
Merge pull request #15 from timvaillancourt/travis_push_builds
build and upload debian binaries
2 parents 34c0ff3 + d4b1d1f commit b109aaa

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ stages:
2222
# - test-replset-3.0
2323
# - test-archive-none
2424
# - test-archive-zbackup
25+
- name: build-debian
26+
if: branch =~ ^\d+\.\d+\.\d+$ AND tag =~ ^\d+\.\d+\.\d+$
2527
- name: deploy-dockerhub
2628
if: branch =~ ^\d+\.\d+\.\d+$ AND tag =~ ^\d+\.\d+\.\d+$
2729
- name: deploy-github
@@ -66,6 +68,10 @@ jobs:
6668
# script:
6769
# - docker load -i $TRAVIS_BUILD_DIR/build/docker/mongodb_consistent_backup.tar
6870
# - $TRAVIS_BUILD_DIR/scripts/travis-ci/run-replset.sh 3.4 --archive.method=zbackup
71+
- stage: build-debian
72+
script:
73+
- make debian8
74+
- make debian9
6975
- stage: deploy-dockerhub
7076
script: true
7177
deploy:
@@ -83,5 +89,7 @@ jobs:
8389
file:
8490
- $TRAVIS_BUILD_DIR/build/rpm/RPMS/x86_64/mongodb_consistent_backup-$TRAVIS_TAG-1.el7.centos.x86_64.rpm"
8591
- $TRAVIS_BUILD_DIR/bin/mongodb-consistent-backup.el7.centos.x86_64
92+
- $TRAVIS_BUILD_DIR/bin/mongodb-consistent-backup.debian8.x86_64
93+
- $TRAVIS_BUILD_DIR/bin/mongodb-consistent-backup.debian9.x86_64
8694
on:
8795
tags: true

0 commit comments

Comments
 (0)