<commit_before>branches:
  except:
    - "/^v\\d+\\.\\d+\\.\\d+$/"

sudo: false
os: osx
language: ruby
before_install:
  - curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.30.1/install.sh | bash
  - source ~/.bashrc
  - nvm install 4
  - nvm use 4
  - npm install npm -g

install:
  - npm install

before_script:
  - npm prune

script:
  - npm run test
  - npm run semantic-release-prepare
  - npm run build
  - export TRAVIS_TAG=v1.0.0

after_success:
  - npm run semantic-release-publish<commit_msg>chore(travis): Fake TRAVIS_TAG by extracting version from package.json<commit_after>branches:
  except:
    - "/^v\\d+\\.\\d+\\.\\d+$/"

sudo: false
os: osx
language: ruby
before_install:
  - curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.30.1/install.sh | bash
  - source ~/.bashrc
  - nvm install 4
  - nvm use 4
  - npm install npm -g

install:
  - npm install

before_script:
  - npm prune

script:
  - npm run test
  - npm run semantic-release-prepare
  - npm run build
  - "export TRAVIS_TAG=v$(cat package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[",]//g' | tr -d '[[:space:]]')"

after_success:
  - npm run semantic-release-publish
{'fraction_non_alphanumeric': 0.15559293523969722, 'fraction_numerical': 0.014297729184188394, 'mean_word_length': 2.6615384615384614, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1938649', 'n_tokens_mistral': 497, 'n_tokens_neox': 450, 'n_words': 116}