<commit_before>machine:
  services:
    - docker

dependencies:
  override:
    - docker info
    - docker build --no-cache --rm -t marvin/devbox .

test:
  override:
    - docker run -it --entrypoint='/usr/bin/which' marvin/devbox git
    - docker run -it --entrypoint='/usr/bin/which' marvin/devbox curl
    - docker run -it --entrypoint='/usr/bin/which' marvin/devbox python
    - docker run -it --entrypoint='/usr/bin/which' marvin/devbox vim
    - docker run -it --entrypoint='/usr/bin/which' marvin/devbox strace
    - docker run -it --entrypoint='/usr/bin/which' marvin/devbox wget
    - docker run -it --entrypoint='/usr/bin/test' marvin/devbox -f /etc/bash_completion.d/git-prompt
    - "[[ $(docker run -it --entrypoint='/usr/local/bin/fleetctl' marvin/devbox --version) =~ 0.10.1 ]]"
    - docker run -it --entrypoint='/usr/bin/which' marvin/devbox terraform
    - docker run -it --entrypoint='/usr/bin/which' marvin/devbox keybase
    - docker run -it --entrypoint='/usr/bin/which' marvin/devbox ledger
    - docker run -it --entrypoint='/usr/bin/which' marvin/devbox docker
    - docker run -it --entrypoint='/usr/bin/which' marvin/devbox wercker
    - "[[ $(docker run -it --entrypoint='/usr/local/go/bin/go' marvin/devbox version) =~ 1.4.2 ]]"
    - "[[ $(docker run -it --entrypoint='/usr/bin/groups' marvin/devbox dev) =~ docker ]]"
    - "[[ $(docker run -it --entrypoint='/usr/bin/groups' marvin/devbox dev) =~ dev ]]"
    - docker run -it --entrypoint='/usr/bin/which' marvin/devbox packer
    - "[[ $(docker run -it --entrypoint='/usr/local/bin/virtualenv' marvin/devbox --version) =~ 13.0.3 ]]"
    - "[[ $(docker run -it --entrypoint='/usr/bin/pip' marvin/devbox --version) =~ 1.5.4 ]]"

deployment:
  hub:
    branch: master
    owner: marvinpinto
    commands:
      - docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
      - docker push marvin/devbox<commit_msg>Stop validating the specifc version numbers of the various software packages<commit_after>machine:
  services:
    - docker

dependencies:
  override:
    - docker info
    - docker build --no-cache --rm -t marvin/devbox .

test:
  override:
    - docker run -it --entrypoint='/usr/bin/git' marvin/devbox --version
    - docker run -it --entrypoint='/usr/bin/which' marvin/devbox curl
    - docker run -it --entrypoint='/usr/bin/which' marvin/devbox python
    - docker run -it --entrypoint='/usr/bin/which' marvin/devbox vim
    - docker run -it --entrypoint='/usr/bin/which' marvin/devbox strace
    - docker run -it --entrypoint='/usr/bin/which' marvin/devbox wget
    - docker run -it --entrypoint='/usr/bin/test' marvin/devbox -f /etc/bash_completion.d/git-prompt
    - "[[ $(docker run -it --entrypoint='/usr/local/bin/fleetctl' marvin/devbox --version) =~ 0.10.1 ]]"
    - docker run -it --entrypoint='/usr/bin/which' marvin/devbox terraform
    - docker run -it --entrypoint='/usr/bin/which' marvin/devbox keybase
    - docker run -it --entrypoint='/usr/bin/which' marvin/devbox ledger
    - docker run -it --entrypoint='/usr/bin/which' marvin/devbox docker
    - docker run -it --entrypoint='/usr/bin/which' marvin/devbox wercker
    - "[[ $(docker run -it --entrypoint='/usr/local/go/bin/go' marvin/devbox version) =~ 1.4.2 ]]"
    - "[[ $(docker run -it --entrypoint='/usr/bin/groups' marvin/devbox dev) =~ docker ]]"
    - "[[ $(docker run -it --entrypoint='/usr/bin/groups' marvin/devbox dev) =~ dev ]]"
    - docker run -it --entrypoint='/usr/bin/which' marvin/devbox packer
    - docker run -it --entrypoint='/usr/local/bin/virtualenv' marvin/devbox --version
    - docker run -it --entrypoint='/usr/bin/pip' marvin/devbox --version

deployment:
  hub:
    branch: master
    owner: marvinpinto
    commands:
      - docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
      - docker push marvin/devbox
{'fraction_non_alphanumeric': 0.1677115987460815, 'fraction_numerical': 0.0054858934169279, 'mean_word_length': 2.735609756097561, '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': '6974329', 'n_tokens_mistral': 1442, 'n_tokens_neox': 1360, 'n_words': 315}