<commit_before>language: cpp
compiler:
  - clang
  - gcc
os:
  - linux
  - osx
  - windows
sudo: required
services:
  - postgresql
  - redis-server
addons:
  apt:
    packages:
      - links
      - libblas-dev
      - libmagic-dev
      - libsnappy-dev
      - libzmq-dev
      - libpq-dev
      - cmake
      - libaio-dev
      - libsnappy-dev
      - libgtk2.0-dev
      - gtk2-engines-pixbuf
  homebrew:
    packages:
      - snappy
      - libmagic
      - memcached
      - redis
      - zeromq
      - postgresql
      - udis86
branches:
  except:
  - clean-windows-x86-64
  - clean-windows-x86-32
  - clean-linux-x86-64
  - clean-linux-x86-32
  - clean-macosx-x86-64
  - clean-macosx-x86-32
before_install:
  - uname -s
  - case $TRAVIS_OS_NAME in
      osx)
        export HOMEBREW_NO_AUTO_UPDATE=1
        brew services start memcached
        brew services start redis
        brew services start postgresql
        ;;
      linux)
        wget https://github.com/vmt/udis86/archive/v1.7.2.tar.gz && tar xzvf v1.7.2.tar.gz && cd udis86-1.7.2/ && ./autogen.sh && ./configure --enable-shared=yes && make && sudo make install && cd ..
        ;;
    esac
  - git remote set-branches --add origin master
  - git remote set-branches --add origin clean-windows-x86-64
  - git remote set-branches --add origin clean-windows-x86-32
  - git remote set-branches --add origin clean-linux-x86-64
  - git remote set-branches --add origin clean-linux-x86-32
  - git remote set-branches --add origin clean-macosx-x86-64
  - git remote set-branches --add origin clean-macosx-x86-32
  - git fetch # so we can see which vocabs changed versus origin/master...
script:
  - echo "TRAVIS_BRANCH=$TRAVIS_BRANCH, TRAVIS_PULL_REQUEST_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH"
  - export CI_BRANCH="${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH}"
  - echo "CI_BRANCH=${CI_BRANCH}"
  - case $TRAVIS_OS_NAME in
      osx | linux)
        DEBUG=1 ./build.sh net-bootstrap < /dev/null
        ;;
      windows)
        ./build.cmd
        ;;
    esac
  - "./factor -e='USING: memory vocabs.hierarchy tools.test namespaces ; \"zealot\" load f long-unit-tests-enabled? set-global save'"
  #- "./factor -run=zealot.cli-changed-vocabs"
  #- "./factor -run=tools.test `./factor -run=zealot.cli-changed-vocabs | paste -s -d " " -`"
  #- "./factor -run=zealot.help-lint `./factor -run=zealot.cli-changed-vocabs | paste -s -d " " -`"
  - "./factor -e='USING: modern.paths sequences tools.test.private ; core-vocabs [ test-vocab ] each'"<commit_msg>.travis.yml: stop using windows for now.<commit_after>language: cpp
compiler:
  - clang
  - gcc
os:
  - linux
  - osx
sudo: required
services:
  - postgresql
  - redis-server
addons:
  apt:
    packages:
      - libgtk2.0-dev
      - gtk2-engines-pixbuf
      - libblas-dev
      - libmagic-dev
      - libsnappy-dev
      - libzmq-dev
      - libpq-dev
  homebrew:
    packages:
      - snappy
      - libmagic
      - memcached
      - redis
      - zeromq
      - postgresql
      - udis86
branches:
  except:
  - clean-windows-x86-64
  - clean-windows-x86-32
  - clean-linux-x86-64
  - clean-linux-x86-32
  - clean-macosx-x86-64
  - clean-macosx-x86-32
before_install:
  - uname -s
  - case $TRAVIS_OS_NAME in
      osx)
        export HOMEBREW_NO_AUTO_UPDATE=1
        brew services start memcached
        brew services start redis
        brew services start postgresql
        ;;
      linux)
        wget https://github.com/vmt/udis86/archive/v1.7.2.tar.gz && tar xzvf v1.7.2.tar.gz && cd udis86-1.7.2/ && ./autogen.sh && ./configure --enable-shared=yes && make && sudo make install && cd ..
        ;;
    esac
  - git remote set-branches --add origin master
  - git remote set-branches --add origin clean-windows-x86-64
  - git remote set-branches --add origin clean-windows-x86-32
  - git remote set-branches --add origin clean-linux-x86-64
  - git remote set-branches --add origin clean-linux-x86-32
  - git remote set-branches --add origin clean-macosx-x86-64
  - git remote set-branches --add origin clean-macosx-x86-32
  - git fetch # so we can see which vocabs changed versus origin/master...
script:
  - echo "TRAVIS_BRANCH=$TRAVIS_BRANCH, TRAVIS_PULL_REQUEST_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH"
  - export CI_BRANCH="${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH}"
  - echo "CI_BRANCH=${CI_BRANCH}"
  - DEBUG=1 ./build.sh net-bootstrap < /dev/null
  - "./factor -e='USING: memory vocabs.hierarchy tools.test namespaces ; \"zealot\" load f long-unit-tests-enabled? set-global save'"
  #- "./factor -run=zealot.cli-changed-vocabs"
  #- "./factor -run=tools.test `./factor -run=zealot.cli-changed-vocabs | paste -s -d " " -`"
  #- "./factor -run=zealot.help-lint `./factor -run=zealot.cli-changed-vocabs | paste -s -d " " -`"
  - "./factor -e='USING: modern.paths sequences tools.test.private ; core-vocabs [ test-vocab ] each'"
{'fraction_non_alphanumeric': 0.13341568869672638, 'fraction_numerical': 0.02800082355363393, 'mean_word_length': 2.278002699055331, 'pattern_counts': {'":': 0, '<': 5, '<?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': '702348', 'n_tokens_mistral': 1906, 'n_tokens_neox': 1820, 'n_words': 375}