-
-
Notifications
You must be signed in to change notification settings - Fork 180
Running Boot on CI systems
Juho Teperi edited this page Mar 8, 2016
·
15 revisions
Challenges
- Circle saves the cache after dependencies step so files downloaded in test step are not cached
- Solution: Run tests in dependencies step
- Boot sometimes uses over 4G memory when downloading deps
- Set
_JAVA_OPTIONS
- Set
circle.yml
machine:
java:
version: oraclejdk8
environment:
# Boot sometimes uses over 4G when dowloading deps
# Limit could be higher probably, 2-3G?
_JAVA_OPTIONS: "-Xms512m -Xmx1024m"
dependencies:
pre:
# Could use `latest` tag instead of version number
- curl -L https://github.com/boot-clj/boot-bin/releases/download/2.5.2/boot.sh -o ~/bin/boot
- chmod +x ~/bin/boot
override:
# Run tests here so everything loaded by test task is cached
- boot run-tests
cache_directories:
- "~/bin"
test:
override:
# Nothing to run here
- echo 1
You can find other developers and users in the #hoplon
channel on freenode IRC or the boot slack channel.
If you have questions or need help, please visit the Discourse site.
- Environments
- Boot environment
- Java environment
- Tasks
- Built-ins
- Third-party
- Tasks Options
- Filesets
- Target Directory
- Pods
- Boot Exceptions
- Configuring Boot
- Updating Boot
- Setting Clojure version
- JVM Options
- S3 Repositories
- Scripts
- Task Writer's Guide
- Require inside Tasks
- Boot for Leiningen Users
- Boot in Leiningen Projects
- Repl reloading
- Repository Credentials and Deploying
- Snippets
- Troubleshooting
- FAQ
- API docs
- Core
- Pod
- Util