File tree Expand file tree Collapse file tree 2 files changed +22
-21
lines changed Expand file tree Collapse file tree 2 files changed +22
-21
lines changed Original file line number Diff line number Diff line change 1
1
language : clojure
2
2
lein : lein2
3
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
-
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
15
14
script : lein2 test
16
- # notifications:
17
- # irc: "irc.freenode.org#pallet"
15
+ after_success :
16
+ - lein2 pallet-release push
17
+ env :
18
+ global :
19
+ secure : eOBqYhJhOJMtRiMKs9ZgG4pEHFy7YqiBZ5NUEWUYD6qav6sMRHqqR5F04NRI37SmnIupzeTChqfRgX0DOwHeTl4u+QJnwRDH2z3avu75FbtZWgiGrxzE39SESpVj/zsyDrEUzT7ZiMayXKyNa3ObiJ8vBUFT7x/OZyRp/1rJxHU=
Original file line number Diff line number Diff line change 1
- {:dev {:dependencies [[ch.qos.logback/logback-classic " 1.0.0" ]]}
1
+ {:dev
2
+ {:dependencies [[ch.qos.logback/logback-classic " 1.0.0" ]]
3
+ :plugins [[lein-pallet-release " RELEASE" ]]
4
+ :pallet-release
5
+ {:url " https://pbors:${GH_TOKEN}@github.com/hugoduncan/clj-ssh.git" ,
6
+ :branch " master" }}
2
7
:clojure-1.2.1 {:dependencies [[org.clojure/clojure " 1.2.1" ]]}
3
8
:clojure-1.3.0 {:dependencies [[org.clojure/clojure " 1.3.0" ]]}
4
9
:clojure-1.4.0 {:dependencies [[org.clojure/clojure " 1.4.0" ]]}
13
18
:src-linenum-anchor-prefix " L" }
14
19
:aliases {" marg" [" marg" " -d" " doc/0.5/annotated" ]
15
20
" codox" [" doc" ]
16
- " doc" [" do" " codox," " marg" ]}}
17
- :release
18
- {:plugins [[lein-set-version " 0.2.1" ]]
19
- :set-version
20
- {:updates [{:path " README.md"
21
- :no-snapshot true
22
- :search-regex #"clj-ssh \"\d +\.\d +\.\d +\" " }]}}}
21
+ " doc" [" do" " codox," " marg" ]}}}
You can’t perform that action at this time.
0 commit comments