Skip to content
This repository has been archived by the owner on Feb 15, 2018. It is now read-only.

Commit

Permalink
Another attempt to get travis deploy working again
Browse files Browse the repository at this point in the history
  • Loading branch information
gmr committed Aug 6, 2015
1 parent 54bac45 commit 0f4bbbc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
sudo: false
language: erlang
otp_release:
- 17.5
- 17.5
addons:
apt:
packages:
- xsltproc
- xsltproc
env:
- BUILD_DIR=$HOME/rabbitmq-public-umbrella CONSUL_VERSION=0.5.2 RABBIT_TAG=v3_5_4
- BUILD_DIR=$HOME/rabbitmq-public-umbrella CONSUL_VERSION=0.5.2 RABBIT_TAG=v3_5_4
install:
- "$TRAVIS_BUILD_DIR/travis-umbrella-setup.sh"
- "$TRAVIS_BUILD_DIR/travis-install-consul.sh"
- "$TRAVIS_BUILD_DIR/travis-umbrella-setup.sh"
- "$TRAVIS_BUILD_DIR/travis-install-consul.sh"
script: cd $BUILD_DIR/autocluster && make test
before_deploy:
- cd $BUILD_DIR/autocluster
- VERSION=$TRAVIS_TAG make
- cd $BUILD_DIR/autocluster
- VERSION=$TRAVIS_TAG make
- mkdir -p $HOME/dpl
- cp $BUILD_DIR/autocluster/dist/autocluster-${TRAVIS_TAG}.ez $HOME/dpl/
- cd $HOME/dpl
cache:
apt: true
directories:
Expand All @@ -24,7 +27,7 @@ deploy:
provider: releases
api_key:
secure: ktklMK+XMOteFt+m9NHhVqKkA1Wo8f9L/cJphUmBMgb3TS+4+vAU50yY8omIyprS8poc3mBWxjYD9p9xdeDnXY2tiFrLDKCWU/jbH3awD0uL6W0Di8BYAVOGhr2Jjjp6gi/B67wHtCtzEoSSNNfMMZ+RWf4GZjJ96NXOLhPRx4k=
file: "$BUILD_DIR/autocluster/dist/autocluster-${TRAVIS_TAG}.ez"
file: "$HOME/dpl/autocluster-${TRAVIS_TAG}.ez"
on:
tags: true
repo: aweber/rabbitmq-autocluster
1 change: 1 addition & 0 deletions travis-umbrella-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ if [ -d ${BUILD_DIR}/autocluster ]; then
fi
mkdir -p ${BUILD_DIR}/autocluster
cp -r ${TRAVIS_BUILD_DIR}/* ${BUILD_DIR}/autocluster/
cd ${BUILD_DIR}/autocluster

0 comments on commit 0f4bbbc

Please sign in to comment.