Created
June 20, 2013 20:41
-
-
Save wunki/5826444 to your computer and use it in GitHub Desktop.
Wercker deployment script for Clojure.
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
box: wercker/default | |
services: | |
- wercker/postgresql | |
- wercker/rabbitmq | |
- wercker/redis | |
build: | |
steps: | |
- script: | |
name: install clojure | |
code: | | |
sudo apt-get update | |
sudo apt-get install openjdk-7-jdk curl -y | |
sudo wget -O /usr/local/bin/lein https://raw.github.com/technomancy/leiningen/stable/bin/lein | |
sudo chmod +x /usr/local/bin/lein | |
- script: | |
name: run tests | |
code: | | |
lein test | |
- script: | |
name: build | |
code: | | |
lein uberjar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment