<commit_before>sudo: required

os:
  - linux

before_install:
  - curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
  - sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
  - sudo apt-get update
  - sudo apt-get -y install docker-ce

  # Repo mount location inside docker
  - export REPO_MNT=/repo

# Perform docker image setup, which sets up the environments
install:
  - |
    # - - Setup some docker images as Haxe+hxcpp build environments - -

    # Neko 2.1.0 base image
    docker run -e LANG=C.UTF-8 -v "$TRAVIS_BUILD_DIR:$REPO_MNT" ubuntu:14.04 /bin/bash -c "cd $REPO_MNT; source ci/init_env.source; source ci/setup.neko.source"
    (docker commit `docker ps -lq` | cut -c8-) > ~/.docker.image.neko<commit_msg>See what happens when I turn on travis windows support<commit_after>sudo: required

os:
  - linux
  - windows

before_install:
  - |
    env | sort
    if [ "$TRAVIS_OS_NAME" = 'linux' ]; then
      curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
      sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
      sudo apt-get update
      sudo apt-get -y install docker-ce
    fi

  # Repo mount location inside docker
  - export REPO_MNT=/repo

# Perform docker image setup, which sets up the environments
install:
  - |
    # - - Setup some docker images as Haxe+hxcpp build environments - -

    # Neko 2.1.0 base image
    docker run -e LANG=C.UTF-8 -v "$TRAVIS_BUILD_DIR:$REPO_MNT" ubuntu:14.04 /bin/bash -c "cd $REPO_MNT; source ci/init_env.source; source ci/setup.neko.source"
    (docker commit `docker ps -lq` | cut -c8-) > ~/.docker.image.neko
{'fraction_non_alphanumeric': 0.12227324913892078, 'fraction_numerical': 0.012629161882893225, 'mean_word_length': 3.0068965517241377, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1586204', 'n_tokens_mistral': 674, 'n_tokens_neox': 609, 'n_words': 174}