<commit_before>language: python
python:
  - 2.7
  - 3.4
install:
  # install R
  - sudo apt-get -y update
  - sudo apt-get -y install r-base
  - sudo apt-get -y install python-matplotlib
  #- sudo apt-get install libblas-dev liblapack-dev libatlas-base-dev gfortran
  #- pip install -r requirements.txt
  #- pip install 
  # Install conda
  - sudo pip install --upgrade pyinstaller 
  - sudo -H pip install auxlib
  - sudo -H pip install conda
  # install deps
  #- sudo -H conda init
  - sudo -H conda init
  #- conda install -c r r
  #- sudo -H conda update conda --yes
  - deps='pip numpy pandas scikit-learn coverage nose matplotlib'
  - conda create -p $HOME/py --yes $deps "python=$TRAVIS_PYTHON_VERSION"
  - export PATH=$HOME/py/bin:$PATH
  - pip install codecov
  # install your own package into the environment
  - python setup.py install
  # install R components
  - sudo R -f inferelator_ng/R_code/packages.R
script:
  - python -c "import os; print(repr(os.name))"
  - python -c "import matplotlib.pyplot as plt; print('imported '+plt.__file__)"
  - coverage run --source=inferelator_ng setup.py test
  #- nosetests
after_success:
  - codecov
after_failure:
  - pwd
  - find .
  - cat ./inferelator_ng/tests/artifacts/run_mi.R
  - R -f ./inferelator_ng/tests/artifacts/run_mi.R<commit_msg>try install before upgrade<commit_after>language: python
python:
  - 2.7
  - 3.4
install:
  # install R
  - sudo apt-get -y update
  - sudo apt-get -y install r-base
  - sudo apt-get -y install python-matplotlib
  #- sudo apt-get install libblas-dev liblapack-dev libatlas-base-dev gfortran
  #- pip install -r requirements.txt
  #- pip install 
  # Install conda
  - sudo pip install pyinstaller 
  - sudo pip install --upgrade pyinstaller 
  - sudo -H pip install auxlib
  - sudo -H pip install conda
  # install deps
  #- sudo -H conda init
  - sudo -H conda init
  #- conda install -c r r
  #- sudo -H conda update conda --yes
  - deps='pip numpy pandas scikit-learn coverage nose matplotlib'
  - conda create -p $HOME/py --yes $deps "python=$TRAVIS_PYTHON_VERSION"
  - export PATH=$HOME/py/bin:$PATH
  - pip install codecov
  # install your own package into the environment
  - python setup.py install
  # install R components
  - sudo R -f inferelator_ng/R_code/packages.R
script:
  - python -c "import os; print(repr(os.name))"
  - python -c "import matplotlib.pyplot as plt; print('imported '+plt.__file__)"
  - coverage run --source=inferelator_ng setup.py test
  #- nosetests
after_success:
  - codecov
after_failure:
  - pwd
  - find .
  - cat ./inferelator_ng/tests/artifacts/run_mi.R
  - R -f ./inferelator_ng/tests/artifacts/run_mi.R
{'fraction_non_alphanumeric': 0.10691348696637704, 'fraction_numerical': 0.003022289384208538, 'mean_word_length': 2.8544395924308588, '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': '6734963', 'n_tokens_mistral': 989, 'n_tokens_neox': 946, 'n_words': 284}