Skip to content

Commit

Permalink
Travis: add lua and haskell. Add racket (disabled).
Browse files Browse the repository at this point in the history
- racket has some stepA failures in optional areas so it would cause
  overall test failure.
  • Loading branch information
kanaka committed Oct 6, 2015
1 parent c35c7c8 commit 72f6732
Show file tree
Hide file tree
Showing 5 changed files with 83 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,17 @@ env:
- IMPL=cs
- IMPL=clojure
- IMPL=go
- IMPL=haskell
- IMPL=java
- IMPL=js
- IMPL=lua
- IMPL=make
- IMPL=perl
- IMPL=php
- IMPL=ps
- IMPL=python
- IMPL=r
#- IMPL=racket # stepA optional failures
- IMPL=ruby
#- IMPL=rust # compilation issues
- IMPL=scala
Expand Down
25 changes: 25 additions & 0 deletions haskell/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
FROM ubuntu:vivid
MAINTAINER Joel Martin <github@martintribe.org>

##########################################################
# General requirements for testing or common across many
# implementations
##########################################################

RUN apt-get -y update

# Required for running tests
RUN apt-get -y install make python

# Some typical implementation and test requirements
RUN apt-get -y install curl libreadline-dev libedit-dev

RUN mkdir -p /mal
WORKDIR /mal

##########################################################
# Specific implementation requirements
##########################################################

# Haskell
RUN apt-get -y install ghc haskell-platform libghc-readline-dev libghc-editline-dev
29 changes: 29 additions & 0 deletions lua/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
FROM ubuntu:vivid
MAINTAINER Joel Martin <github@martintribe.org>

##########################################################
# General requirements for testing or common across many
# implementations
##########################################################

RUN apt-get -y update

# Required for running tests
RUN apt-get -y install make python

# Some typical implementation and test requirements
RUN apt-get -y install curl libreadline-dev libedit-dev

RUN mkdir -p /mal
WORKDIR /mal

##########################################################
# Specific implementation requirements
##########################################################

# Lua
RUN apt-get -y install lua5.1 lua-rex-pcre luarocks
RUN luarocks install linenoise

# luarocks .cache directory is relative to HOME
ENV HOME /mal
1 change: 1 addition & 0 deletions lua/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ all: libs

clean:
rm -f linenoise.so
rm -rf lib/lua/5.1

stats: $(SOURCES)
@wc $^
Expand Down
25 changes: 25 additions & 0 deletions racket/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
FROM ubuntu:vivid
MAINTAINER Joel Martin <github@martintribe.org>

##########################################################
# General requirements for testing or common across many
# implementations
##########################################################

RUN apt-get -y update

# Required for running tests
RUN apt-get -y install make python

# Some typical implementation and test requirements
RUN apt-get -y install curl libreadline-dev libedit-dev

RUN mkdir -p /mal
WORKDIR /mal

##########################################################
# Specific implementation requirements
##########################################################

# Racket
RUN apt-get -y install racket

0 comments on commit 72f6732

Please sign in to comment.