Add Travis CI config

This commit is contained in:
Theo Butler 2019-07-23 21:49:24 +02:00
parent 36b5081a4e
commit 6ab41086a7
3 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,19 @@
from haskell:8.2
run apt-get update && apt-get install -y \
clang lld-4.0 \
curl wget \
chicken-bin racket \
libx11-dev uuid-dev \
libncurses5-dev
run wget https://github.com/cisco/ChezScheme/archive/v9.5.2.tar.gz && \
tar xvzf v9.5.2.tar.gz && \
cd ChezScheme-9.5.2 && \
./configure --threads && \
make -j install
run cabal update && cabal install -j --with-ld=ld.lld-4.0 idris-1.3.2
env IDRIS_CC=clang
cmd idris

View File

@ -0,0 +1,7 @@
from theodus/idris2-ci-base:latest
copy . /Idris2-dev
workdir /Idris2-dev
run make idris2
run make libs
run make test

9
.travis.yml Normal file
View File

@ -0,0 +1,9 @@
dist: bionic
services: docker
language: minimal
before_install: docker pull theodus/idris2-ci-base:latest
script: docker build . -f .ci-dockerfiles/ci-run.dockerfile