<commit_before>sudo: false
language: minimal
python:
  - '2.7'
  - '3.6'
cache:
  directories:
    - $HOME/.cache/pip
    - $HOME/miniconda
before_install:
  # don't install miniconda if it's already cached
  # if not yet installed, use different versions for py2 vs. py3
  - |
    if [ -f  $HOME/miniconda/bin] then
      echo "miniconda already installed"
    else
      rm -rf $HOME/miniconda
      if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
        wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh;
      else
        wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
      fi
      bash miniconda.sh -b -p $HOME/miniconda
      export PATH="$HOME/miniconda/bin:$PATH"
    fi
  - hash -r
  - conda config --set always_yes yes --set changeps1 no
  - conda update -q conda
  # Useful for debugging any issues with conda
  - conda info -a
install:
  - >
      conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION
      numpy nose pandas pylint pandoc
  - source activate test-environment
  # make sure we're using the correct version
  - python --version
  - pip install -r requirements.txt
  - pip install .
  - pip install pypandoc
  - pip install coveralls
script:
  - nosetests test --with-coverage --cover-package=gtfparse && ./lint.sh
after_success: coveralls
deploy:
  provider: pypi
  distributions: sdist
  user: openvax
  password: # See http://docs.travis-ci.com/user/encryption-keys/<commit_msg>working on travis<commit_after>sudo: false
language: minimal
python:
  - '2.7'
  - '3.6'
cache:
  directories:
    - $HOME/.cache/pip
    - $HOME/miniconda
before_install:
  # don't install miniconda if it's already cached
  # if not yet installed, use different versions for py2 vs. py3
  - |
    if [ -f  $HOME/miniconda/bin]
      then
      echo "miniconda already installed"
    else
      rm -rf $HOME/miniconda
      if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]] then
        wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh;
      else
        wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
      fi
      bash miniconda.sh -b -p $HOME/miniconda
      export PATH="$HOME/miniconda/bin:$PATH"
    fi
  - hash -r
  - conda config --set always_yes yes --set changeps1 no
  - conda update -q conda
  # Useful for debugging any issues with conda
  - conda info -a
install:
  - >
      conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION
      numpy nose pandas pylint pandoc
  - source activate test-environment
  # make sure we're using the correct version
  - python --version
  - pip install -r requirements.txt
  - pip install .
  - pip install pypandoc
  - pip install coveralls
script:
  - nosetests test --with-coverage --cover-package=gtfparse && ./lint.sh
after_success: coveralls
deploy:
  provider: pypi
  distributions: sdist
  user: openvax
  password: # See http://docs.travis-ci.com/user/encryption-keys/
{'fraction_non_alphanumeric': 0.1072961373390558, 'fraction_numerical': 0.01188511059755695, 'mean_word_length': 2.708690330477356, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1137880', 'n_tokens_mistral': 1080, 'n_tokens_neox': 1047, 'n_words': 285}