Skip to content

Commit 6581545

Browse files
committed
Adding auto-generated CircleCI 2.0 config file
1 parent 4946965 commit 6581545

File tree

1 file changed

+19
-31
lines changed

1 file changed

+19
-31
lines changed

.circleci/config.yml

Lines changed: 19 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,27 @@
1-
# Clojure CircleCI 2.0 configuration file
2-
#
3-
# Check https://circleci.com/docs/2.0/language-clojure/ for more details
4-
#
51
version: 2
62
jobs:
73
build:
84
docker:
9-
- image: circleci/clojure:lein-2.7.1
10-
5+
- image: circleci/clojure:lein-2.7.1
116
working_directory: ~/repo
12-
137
environment:
14-
LEIN_ROOT: "true"
8+
LEIN_ROOT: 'true'
159
JVM_OPTS: -Xmx3200m
16-
1710
steps:
18-
- checkout
19-
20-
- restore_cache:
21-
keys:
22-
- v1-dependencies-{{ checksum "project.clj" }}
23-
- v1-dependencies-
24-
25-
- run: lein deps
26-
27-
- run:
28-
name: Install 'phantomjs'
29-
command: |
30-
sudo curl --output /tmp/phantomjs https://s3.amazonaws.com/circle-downloads/phantomjs-2.1.1
31-
sudo chmod ugo+x /tmp/phantomjs
32-
sudo ln -sf /tmp/phantomjs /usr/local/bin/phantomjs
33-
34-
- save_cache:
35-
paths:
36-
- ~/.m2
37-
key: v1-dependencies-{{ checksum "project.clj" }}
38-
39-
- run: lein test-all
11+
- checkout
12+
- restore_cache:
13+
keys:
14+
- v1-dependencies-{{ checksum "project.clj" }}
15+
- v1-dependencies-
16+
- run: lein deps
17+
- run:
18+
name: Install 'phantomjs'
19+
command: |
20+
sudo curl --output /tmp/phantomjs https://s3.amazonaws.com/circle-downloads/phantomjs-2.1.1
21+
sudo chmod ugo+x /tmp/phantomjs
22+
sudo ln -sf /tmp/phantomjs /usr/local/bin/phantomjs
23+
- save_cache:
24+
paths:
25+
- ~/.m2
26+
key: v1-dependencies-{{ checksum "project.clj" }}
27+
- run: lein test-all

0 commit comments

Comments
 (0)