<commit_before>general:

dependencies:
  pre:
      - sudo apt-get update
      - sudo apt-get -qq install pandoc ruby-sass


machine:
  environment:
    PATH: ~/.roswell/bin:~/.linuxbrew/bin:$PATH
    ROSWELL_PLATFORMHTML_BASE: https://github.com/somewrite-adtech/sbcl-bin/releases/download/archives/sbcl-bin.html
    ROSWELL_SBCL_BIN_URI: https://github.com/somewrite-adtech/sbcl-bin/releases/download/archives/

test:
  post:
    - sh bootstrap
    - ./configure --with-platformhtml-base=$ROSWELL_PLATFORMHTML_BASE --with-sbcl-bin-base=$ROSWELL_SBCL_BIN_URI
    - make -j4
    - sudo make install
    - ros version
    - ros -v setup
    - ros install
    - ros install prove fukamachi/sblint zip
    - run-prove roswell-test.asd
    - ros install sbcl
    - ros -v run -- --version
    - ros install ccl-bin
    - ros -v run -- --version
    - ros config
    - man -Pcat ros
    - sblint roswell.asd<commit_msg>try rosproxy for circleci<commit_after>general:

dependencies:
  pre:
    - sudo apt-get update
    - sudo apt-get -qq install pandoc ruby-sass
  cache_directories:
    - "~/.rosproxy"

machine:
  environment:
    PATH: ~/.roswell/bin:~/.linuxbrew/bin:$PATH
    ROSWELL_PLATFORMHTML_BASE: https://github.com/somewrite-adtech/sbcl-bin/releases/download/archives/sbcl-bin.html
    ROSWELL_SBCL_BIN_URI: https://github.com/somewrite-adtech/sbcl-bin/releases/download/archives/

test:
  post:
    - if ! [ -f "$HOME/.rosproxy/proxy" ]; then
        curl -L https://github.com/snmsts/roswell-proxy/releases/download/v0.5/v0.5-linux.tgz |tar xzf -;
        cp proxy $HOME/.rosproxy/proxy;
      fi
    - $HOME/.rosproxy/proxy daemon
    - mkdir ~/.roswell
    - echo "ros.proxy	0	localhost:5000" > ~/.roswell/config
    - echo "proxy.http.only	0	1" >> ~/.roswell/config
    - sh bootstrap
    - ./configure --with-platformhtml-base=$ROSWELL_PLATFORMHTML_BASE --with-sbcl-bin-base=$ROSWELL_SBCL_BIN_URI
    - make -j4
    - sudo make install
    - ros version
    - ros -v setup
    - ros install
    - ros install prove fukamachi/sblint zip
    - run-prove roswell-test.asd
    - ros install sbcl
    - ros -v run -- --version
    - ros install ccl-bin
    - ros -v run -- --version
    - ros config
    - man -Pcat ros
    - sblint roswell.asd
{'fraction_non_alphanumeric': 0.12649800266311584, 'fraction_numerical': 0.005770084332001775, 'mean_word_length': 2.389473684210526, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, 'https://': 5, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 5, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '589266', 'n_tokens_mistral': 878, 'n_tokens_neox': 839, 'n_words': 165}