language: common-lisp
sudo: required

env:
  matrix:
    - LISP=sbcl
    - LISP=ccl

matrix:
  allow-failures:
    - env: LISP=ecl

before_install:
   # 32-bit libraries needed to run Allegro.
   sudo dpkg --add-architecture i386
   sudo apt-get update
   sudo apt-get install libc6:i386
   sudo apt-get install libgtk2.0-0:i386

install:
  # Install cl-travis
  - curl https://raw.githubusercontent.com/luismbo/cl-travis/master/install.sh | bash

script:
  - cl -l fiveam -l serapeum -l serapeum/tests
       -e '(setf fiveam:*on-error* :debug
                 fiveam:*on-failure* :debug)'
       -e '(setf *debugger-hook*
                 (lambda (c h)
                   (declare (ignore c h))
                   (uiop:quit -1)))'
       -e '(serapeum.tests:run-tests)'

language: common-lisp
sudo: required

env:
  matrix:
    - LISP=sbcl
    - LISP=ccl
    - LISP=allegro

matrix:
  allow-failures:
    - env: LISP=allegro
    - env: LISP=ecl

before_install:
   # 32-bit libraries needed to run Allegro.
   sudo dpkg --add-architecture i386
   sudo apt-get update
   sudo apt-get install libc6:i386
   sudo apt-get install libgtk2.0-0:i386

install:
  # Install cl-travis
  - curl https://raw.githubusercontent.com/luismbo/cl-travis/master/install.sh | bash

script:
  - cl -l fiveam -l serapeum -l serapeum/tests
       -e '(setf fiveam:*on-error* :debug
                 fiveam:*on-failure* :debug)'
       -e '(setf *debugger-hook*
                 (lambda (c h)
                   (declare (ignore c h))
                   (uiop:quit -1)))'
       -e '(serapeum.tests:run-tests)'

Revert "Disable Allegro for the moment."
Revert "Disable Allegro for the moment."

This reverts commit 9c6d839593b2feab5773700e0844faca3fb764c5.
