<commit_before>language: lisp

env:
  matrix:
    - LISP=abcl
    - LISP=sbcl
    - LISP=ccl
    - LISP=clisp
    - LISP=cmucl
    - LISP=ecl

#matrix:
#  allow_failures:
#    - env: LISP=sbcl

install: ./install.sh || curl https://raw2.github.com/luismbo/cl-travis/master/install.sh | bash

before_script:
  - echo "(defsystem :dummy-cl-travis-system)" > ~/lisp/dummy-cl-travis-system.asd

script:
  - cl-launch -i "(load \"$HOME/quicklisp/setup.lisp\") (ql:quickload :cl-travis-test) (rtest:do-tests) (unless (null (rtest:pending-tests)) (uiop:quit 1))"
  - cl-launch -i "(load \"$HOME/quicklisp/setup.lisp\") (ql:quickload :cl-travis-test) (pushnew :force-test-failure *features*) (rtest:do-tests) (unless (null (rtest:pending-tests)) (uiop:quit 1))"; [ $? -eq 1 ]
  - $LISP --help<commit_msg>install.sh is now pure sh<commit_after>language: lisp

env:
  matrix:
    - LISP=abcl
    - LISP=sbcl
    - LISP=ccl
    - LISP=clisp
    - LISP=cmucl
    - LISP=ecl

#matrix:
#  allow_failures:
#    - env: LISP=sbcl

install: ./install.sh || curl https://raw2.github.com/luismbo/cl-travis/master/install.sh | sh

before_script:
  - echo "(defsystem :dummy-cl-travis-system)" > ~/lisp/dummy-cl-travis-system.asd

script:
  - cl-launch -i "(load \"$HOME/quicklisp/setup.lisp\") (ql:quickload :cl-travis-test) (rtest:do-tests) (unless (null (rtest:pending-tests)) (uiop:quit 1))"
  - cl-launch -i "(load \"$HOME/quicklisp/setup.lisp\") (ql:quickload :cl-travis-test) (pushnew :force-test-failure *features*) (rtest:do-tests) (unless (null (rtest:pending-tests)) (uiop:quit 1))"; [ $? -eq 1 ]
  - $LISP --help
{'fraction_non_alphanumeric': 0.19038701622971285, 'fraction_numerical': 0.004993757802746567, 'mean_word_length': 3.452777777777778, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6757643', 'n_tokens_mistral': 700, 'n_tokens_neox': 672, 'n_words': 115}