Add circleci config.yml.

This commit is contained in:
Phil Hagelberg 2017-05-05 16:03:16 -07:00
parent 9b2792d249
commit 0a30e374a9
3 changed files with 22 additions and 4 deletions

20
.circleci/config.yml Normal file
View file

@ -0,0 +1,20 @@
version: 2
jobs:
build:
working_directory: ~/leiningen
docker:
- image: clojure:lein-2.7.1
steps:
- checkout
- restore_cache:
key: << checksum "project.clj" >>
- run:
working_directory: ~/leiningen/leiningen-core
command: lein bootstrap
- run: bin/lein test
- save_cache:
paths:
- $HOME/.m2
- $HOME/.lein
key: << checksum "project.clj" >>

1
.gitignore vendored
View file

@ -24,3 +24,4 @@
TAGS
test_projects/*/target
pom.xml
deps.txt

View file

@ -57,10 +57,7 @@ tasks. Assuming you are in Leiningen's project root, you can do that like this:
```bash
$ cd leiningen-core
$ lein bootstrap
$ cd ..
$ bin/lein compile
## or the bat file on Windows.
$ lein bootstrap # or lein.bat on Windows.
```
The `lein` command is a stable release of Leiningen on your `$PATH` preferably