8000 Add travis-ci configuration · panchenko/rabbitmq-java-client@997aefc · GitHub
[go: up one dir, main page]

Skip to content

Commit 997aefc

Browse files
committed
Add travis-ci configuration
1 parent a3ca839 commit 997aefc

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.travis.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
sudo: false
2+
language: erlang
3+
addons:
4+
apt:
5+
packages:
6+
- xsltproc
7+
services:
8+
- rabbitmq
9+
otp_release:
10+
- "R16B03-1"
11+
install:
12+
- if [ ! -d "$HOME/rabbitmq-public-umbrella/.git" ]; then git clone https://github.com/rabbitmq/rabbitmq-public-umbrella.git $HOME/rabbitmq-public-umbrella; fi
13+
- cd $HOME/rabbitmq-public-umbrella
14+
- make co
15+
- make up
16+
before_script:
17+
- IFS="/" read -a PARTS <<< "$TRAVIS_REPO_SLUG"
18+
- export TEST_DIR=$HOME/rabbitmq-public-umbrella/${PARTS[1]}
19+
- rm -rf ${TEST_DIR}
20+
- cp -r ${TRAVIS_BUILD_DIR} ${TEST_DIR}
21+
- cd ${TEST_DIR}
22+
script: ant test-client
23+
before_cache:
24+
- rm -rf ${TEST_DIR}
25+
- cd $HOME
26+
cache:
27+
apt: true
28+
directories:
29+
- $HOME/rabbitmq-public-umbrella

0 commit comments

Comments
 (0)
0