File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change
1
+ language : clojure
2
+ lein : lein2
3
+ before_script :
4
+ - ssh-keygen -N "" -f ~/.ssh/id_rsa
5
+ - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
6
+ - ssh-keygen -f ~/.ssh/clj_ssh -t rsa -C "key for test clj-ssh" -N ""
7
+ - ssh-keygen -f ~/.ssh/clj_ssh_pp -t rsa -C "key for test clj-ssh" -N "clj-ssh"
8
+ - echo "from=\"127.0.0.1,localhost,0.0.0.0\" $(cat ~/.ssh/clj_ssh.pub)" >> ~/.ssh/authorized_keys
9
+ - echo "from=\"127.0.0.1,localhost,0.0.0.0\" $(cat ~/.ssh/clj_ssh_pp.pub)" >> ~/.ssh/authorized_keys
10
+ - eval $(ssh-agent)
11
+ - echo "clj-ssh" > pp
12
+ - chmod +x pp
13
+ - setsid ssh-add ~/.ssh/clj_ssh_pp < pp # add the key to the keychain
14
+
15
+ script : lein2 test
16
+ # notifications:
17
+ # irc: "irc.freenode.org#pallet"
You can’t perform that action at this time.
0 commit comments