Permalink
Browse files

Add travis config

  • Loading branch information...
1 parent 10238ff commit 0cfc2cabdad5f90cf2b45dfc48bf1bf5403369a3 @hugoduncan committed Dec 9, 2013
Showing with 17 additions and 0 deletions.
  1. +17 −0 .travis.yml
View
@@ -0,0 +1,17 @@
+language: clojure
+lein: lein2
+before_script:
+ - ssh-keygen -N "" -f ~/.ssh/id_rsa
+ - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
+ - ssh-keygen -f ~/.ssh/clj_ssh -t rsa -C "key for test clj-ssh" -N ""
+ - ssh-keygen -f ~/.ssh/clj_ssh_pp -t rsa -C "key for test clj-ssh" -N "clj-ssh"
+ - echo "from=\"127.0.0.1,localhost,0.0.0.0\" $(cat ~/.ssh/clj_ssh.pub)" >> ~/.ssh/authorized_keys
+ - echo "from=\"127.0.0.1,localhost,0.0.0.0\" $(cat ~/.ssh/clj_ssh_pp.pub)" >> ~/.ssh/authorized_keys
+ - eval $(ssh-agent)
+ - echo "clj-ssh" > pp
+ - chmod +x pp
+ - setsid ssh-add ~/.ssh/clj_ssh_pp < pp # add the key to the keychain
+
+script: lein2 test
+# notifications:
+# irc: "irc.freenode.org#pallet"

0 comments on commit 0cfc2ca

Please sign in to comment.