Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
services:
- docker

script:
- make docker-build
- make docker-check
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM commonlispbr/roswell
WORKDIR /app
RUN ros install commonlispbr/quicksys
RUN ros run -s quicksys -e "(qs:install-dist :ultralisp)" -q
RUN ros run -s weblocks -s weblocks-ui -q
COPY . .
RUN ros install ./lisp-inference.asd
RUN ros run -s lisp-inference/web -q
EXPOSE 40000
ENTRYPOINT "/root/.roswell/bin/inference-server"
11 changes: 10 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
SBCL_CMD := sbcl --noinform --disable-debugger --load
OBJECTS := lisp-inference

DOCKER_IMG = lisp-inference

all: $(OBJECTS)

Expand All @@ -16,4 +16,13 @@ check:
server:
@$(SBCL_CMD) run-server.lisp

docker-build:
docker build -t $(DOCKER_IMG) .

docker-run:
docker run --rm -it --network=host $(DOCKER_IMG)

docker-check:
docker run --rm -t --entrypoint=ros $(DOCKER_IMG) run -s lisp-inference/test -l run-test.lisp

.PHONY: check
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![Build Status](https://travis-ci.org/ryukinix/lisp-inference.svg?branch=master)](https://travis-ci.org/ryukinix/lisp-inference)

# Lisp Inference

A non-full featured Lisp Inference Engine because I didn't implemented
Expand Down