Skip to content

Instantly share code, notes, and snippets.

@wunki
Created June 20, 2013 20:41
Show Gist options
  • Save wunki/5826444 to your computer and use it in GitHub Desktop.
Save wunki/5826444 to your computer and use it in GitHub Desktop.
Wercker deployment script for Clojure.
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