<commit_before>language: smalltalk
sudo: false

smalltalk:
  - Squeak-trunk
  - Squeak-latest
  - Squeak-5.0
  - Squeak-4.6
  - Squeak-4.5

  - Pharo-alpha
  - Pharo-stable
  - Pharo-5.0
  - Pharo-4.0
  - Pharo-3.0

smalltalk_config: .smalltalk.ston

os:
  - linux
  - osx

install:
  # Move cache directory if it exists
  - if [[ -d "${SMALLTALK_CI_CACHE}" ]]; then mv $SMALLTALK_CI_CACHE "$(pwd)"; fi
  # Make sure to use smalltalkCI from this branch
  - if [[ -n "${SMALLTALK_CI_HOME}" ]]; then rm -rf $SMALLTALK_CI_HOME && ln -s "$(pwd)" $SMALLTALK_CI_HOME; fi

script: $SMALLTALK_CI_HOME/run.sh --debug

matrix:
  include:
    # Bash tests
    - language: bash
      smalltalk:
      sudo: false
      script: bash tests/all_tests.sh

    # Test that smalltalkCI can fail
    - smalltalk: Squeak-5.0
      smalltalk_config: .smalltalk_fail.ston
      os: linux
      script: $SMALLTALK_CI_HOME/run.sh --debug && false || true
    - smalltalk: Pharo-stable
      smalltalk_config: .smalltalk_fail.ston
      os: linux
      script: $SMALLTALK_CI_HOME/run.sh --debug && false || true

    # GemStone Linux builds
    - smalltalk: GemStone-3.3.0
      os: linux
      env: GSCI_CLIENTS="Pharo-5.0 Pharo-4.0 Pharo-3.0"
    - smalltalk: GemStone-3.2.14
      os: linux
      cache:
        directories:
          - $SMALLTALK_CI_CACHE      # don't use dependency cache with nonstandard GSCI_DEVKIT_BRANCH
    - smalltalk: GemStone-3.1.0.6
      os: linux
      cache:
        directories:
          - $SMALLTALK_CI_CACHE      # don't use dependency cache with nonstandard GSCI_DEVKIT_BRANCH
    # GemStone OS X builds
    - smalltalk: GemStone-3.3.0
      os: osx
##      env: GSCI_DEVKIT_BRANCH=dev  # only use for development
#    - smalltalk: GemStone-3.2.14
#      os: osx
##      env: GSCI_DEVKIT_BRANCH=dev  # only use for development
#    - smalltalk: GemStone-3.1.0.6
#      os: osx
##      env: GSCI_DEVKIT_BRANCH=dev  # only use for development
  fast_finish: true<commit_msg>Allow Squeak-latest image to fail<commit_after>language: smalltalk
sudo: false

smalltalk:
  - Squeak-latest
  - Squeak-trunk
  - Squeak-5.0
  - Squeak-4.6
  - Squeak-4.5

  - Pharo-alpha
  - Pharo-stable
  - Pharo-5.0
  - Pharo-4.0
  - Pharo-3.0

smalltalk_config: .smalltalk.ston

os:
  - linux
  - osx

install:
  # Move cache directory if it exists
  - if [[ -d "${SMALLTALK_CI_CACHE}" ]]; then mv $SMALLTALK_CI_CACHE "$(pwd)"; fi
  # Make sure to use smalltalkCI from this branch
  - if [[ -n "${SMALLTALK_CI_HOME}" ]]; then rm -rf $SMALLTALK_CI_HOME && ln -s "$(pwd)" $SMALLTALK_CI_HOME; fi

script: $SMALLTALK_CI_HOME/run.sh --debug

matrix:
  include:
    # Bash tests
    - language: bash
      smalltalk:
      sudo: false
      script: bash tests/all_tests.sh

    # Test that smalltalkCI can fail
    - smalltalk: Squeak-5.0
      smalltalk_config: .smalltalk_fail.ston
      os: linux
      script: $SMALLTALK_CI_HOME/run.sh --debug && false || true
    - smalltalk: Pharo-stable
      smalltalk_config: .smalltalk_fail.ston
      os: linux
      script: $SMALLTALK_CI_HOME/run.sh --debug && false || true

    # GemStone Linux builds
    - smalltalk: GemStone-3.3.0
      os: linux
      env: GSCI_CLIENTS="Pharo-5.0 Pharo-4.0 Pharo-3.0"
    - smalltalk: GemStone-3.2.14
      os: linux
      cache:
        directories:
          - $SMALLTALK_CI_CACHE      # don't use dependency cache with nonstandard GSCI_DEVKIT_BRANCH
    - smalltalk: GemStone-3.1.0.6
      os: linux
      cache:
        directories:
          - $SMALLTALK_CI_CACHE      # don't use dependency cache with nonstandard GSCI_DEVKIT_BRANCH
    # GemStone OS X builds
    - smalltalk: GemStone-3.3.0
      os: osx
##      env: GSCI_DEVKIT_BRANCH=dev  # only use for development
#    - smalltalk: GemStone-3.2.14
#      os: osx
##      env: GSCI_DEVKIT_BRANCH=dev  # only use for development
#    - smalltalk: GemStone-3.1.0.6
#      os: osx
##      env: GSCI_DEVKIT_BRANCH=dev  # only use for development
  allow_failures:
    - smalltalk: Squeak-latest
  fast_finish: true
{'fraction_non_alphanumeric': 0.1091314031180401, 'fraction_numerical': 0.020786933927245732, 'mean_word_length': 2.4196277495769882, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, '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': '7674065', 'n_tokens_mistral': 1621, 'n_tokens_neox': 1544, 'n_words': 350}