Created
April 19, 2015 18:02
-
-
Save estliberitas/b2c004f7447ed6fa3248 to your computer and use it in GitHub Desktop.
Apache ZooKeeper configuration for Travis CI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use following configuration to run ZooKeeper while executing tests | |
before_install: | |
# Add repository key | |
- "curl -s http://archive.cloudera.com/cdh4/ubuntu/precise/amd64/cdh/archive.key | sudo apt-key add -" | |
- "wget http://archive.cloudera.com/cdh4/one-click-install/precise/amd64/cdh4-repository_1.0_all.deb" | |
# Add Cloudera repository | |
- "sudo dpkg -i cdh4-repository_1.0_all.deb" | |
- "sudo apt-get update -qq" | |
# Install ZooKeeper | |
- "sudo apt-get install -y zookeeper-server" | |
before_script: | |
- "sudo service zookeeper-server init" | |
- "sudo service zookeeper-server start" | |
after_script: | |
- "sudo service zookeeper-server stop" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment