-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcircle.yml
39 lines (35 loc) · 1.04 KB
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
general:
branches:
ignore:
- gh-pages
machine:
timezone: Asia/Taipei
java:
version: oraclejdk8
dependencies:
pre:
- sudo apt-get update; sudo apt-get install libicu52
- curl --output /home/ubuntu/bin/phantomjs-2.0.1-linux-x86_64-dynamic https://s3.amazonaws.com/circle-support-bucket/phantomjs/phantomjs-2.0.1-linux-x86_64-dynamic
- chmod a+x /home/ubuntu/bin/phantomjs-2.0.1-linux-x86_64-dynamic
- sudo ln -s --force /home/ubuntu/bin/phantomjs-2.0.1-linux-x86_64-dynamic /usr/local/bin/phantomjs
- wget -O lein https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein
- chmod 755 lein
- ./lein -v
- ./lein deps
cache_directories:
- node_modules
- resources/bower_components
- $HOME/.m2
- $HOME/.lein
- $HOME/bin
test:
override:
- ./lein spec
- ./lein cljsbuild test
deployment:
publish:
branch: master
commands:
- ./lein codox
- sed -i 's%https://${GH_TOKEN}@${GH_REF}%[email protected]:coldnew/left-pad.clj.git%g' deploy.sh
- ./deploy.sh