Skip to content
This repository has been archived by the owner on Nov 18, 2020. It is now read-only.

Commit

Permalink
Port .travis.yml from master
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelklishin committed Sep 7, 2015
1 parent a2bca66 commit ca9507a
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .travis.yml
@@ -0,0 +1,32 @@
sudo: false
language: erlang
notifications:
email:
- alerts@rabbitmq.com
addons:
apt:
packages:
- xsltproc
otp_release:
- R16B03-1
- "17.5"
- "18.0"
install:
- if [ ! -d "$HOME/rabbitmq-public-umbrella/.git" ]; then git clone https://github.com/rabbitmq/rabbitmq-public-umbrella.git $HOME/rabbitmq-public-umbrella; fi
- cd $HOME/rabbitmq-public-umbrella
- make co
- make up
before_script:
- IFS="/" read -a PARTS <<< "$TRAVIS_REPO_SLUG"
- export TEST_DIR=$HOME/rabbitmq-public-umbrella/${PARTS[1]}
- rm -rf ${TEST_DIR}
- cp -r ${TRAVIS_BUILD_DIR} ${TEST_DIR}
- cd ${TEST_DIR}
script: make test
before_cache:
- rm -rf ${TEST_DIR}
- cd $HOME
cache:
apt: true
directories:
- $HOME/rabbitmq-public-umbrella

0 comments on commit ca9507a

Please sign in to comment.