<commit_before>sudo: false

os:
  # FIXME:
  # - linux
  - osx

osx_image: xcode9.2

env:
  global:
  - HOMEBREW_NO_AUTO_UPDATE=1
  matrix:
  - FISH_VERSION="--HEAD"
  - FISH_VERSION="" # 3.1.0

language: c

install:
  - brew install fish $FISH_VERSION
  - brew install chruby
  - fish --version

before_script:
  - travis_wait rm -rf $HOME/.rvm $HOME/.rvmrc
  - __rvm_unload
  - make test/opt/rubies
  - ls -lah /Users/travis/build/JeanMertz/chruby-fish/test/opt/rubies/

script: make test<commit_msg>Attempt to copy the pre-installed rubies<commit_after>sudo: false

os:
  # FIXME:
  # - linux
  - osx

osx_image: xcode11.3

env:
  global:
  - HOMEBREW_NO_AUTO_UPDATE=1
  matrix:
  - FISH_VERSION="--HEAD"
  - FISH_VERSION="" # 3.1.0

language: c

install:
  - brew install fish $FISH_VERSION
  - brew install chruby
  - fish --version

before_script:
  - __rvm_unload
  - mkdir -p test/opt
  - cp -R ~/.rvm/rubies test/opt/rubies
  - ls -lah /Users/travis/build/JeanMertz/chruby-fish/test/opt/rubies/

script: make test
{'fraction_non_alphanumeric': 0.12622309197651663, 'fraction_numerical': 0.012720156555772993, 'mean_word_length': 2.8171641791044775, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '5657315', 'n_tokens_mistral': 448, 'n_tokens_neox': 428, 'n_words': 88}