<commit_before>language: python

cache:
  pip: true
  apt: true
  directories:
  - ~/mne_data/

sudo: false
dist: trusty


matrix:
  include:
    - env: TEST=standard
      os: linux
      python: '2.7'
    - env: TEST=standard
      os: linux
      python: '3.6'


before_install:
    # Instal miniconda
    - if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
        wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
      else
        wget http://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh;
      fi;
    - bash miniconda.sh -b -p $HOME/miniconda
    - export PATH="$HOME/miniconda/bin:$PATH"
    - hash -r
    - conda config --set always_yes yes --set changeps1 no
    - conda update -q conda
    - conda info -a
    - SRC_DIR=$(pwd)


install:
    # Create the python environment ;
    - conda create -q -n testenv python=$TRAVIS_PYTHON_VERSION numpy pip cython matplotlib;
    - source activate testenv
    # Testing dependencies
    - pip install codecov pytest pytest-cov;
    - pip install neuropycon-data==0.0.dev1
    # Install graphpype
    - cd ${SRC_DIR}
    - pip install -e .

script:
    # Run test with coverage
    - if [[ "${TEST}" == "standard" ]]; then
          py.test --cov;
      fi;


notifications:
    email: false


after_success:
    # Code coverage
    - if [ "${TEST}" == "standard" ]; then
        codecov;
      fi<commit_msg>neuropycon_data now<commit_after>language: python

cache:
  pip: true
  apt: true
  directories:
  - ~/mne_data/

sudo: false
dist: trusty


matrix:
  include:
    - env: TEST=standard
      os: linux
      python: '2.7'
    - env: TEST=standard
      os: linux
      python: '3.6'


before_install:
    # Instal miniconda
    - if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
        wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
      else
        wget http://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh;
      fi;
    - bash miniconda.sh -b -p $HOME/miniconda
    - export PATH="$HOME/miniconda/bin:$PATH"
    - hash -r
    - conda config --set always_yes yes --set changeps1 no
    - conda update -q conda
    - conda info -a
    - SRC_DIR=$(pwd)


install:
    # Create the python environment ;
    - conda create -q -n testenv python=$TRAVIS_PYTHON_VERSION numpy pip cython matplotlib;
    - source activate testenv
    # Testing dependencies
    - pip install codecov pytest pytest-cov;
    - pip install neuropycon_data
    # Install graphpype
    - cd ${SRC_DIR}
    - pip install -e .

script:
    # Run test with coverage
    - if [[ "${TEST}" == "standard" ]]; then
          py.test --cov;
      fi;


notifications:
    email: false


after_success:
    # Code coverage
    - if [ "${TEST}" == "standard" ]; then
        codecov;
      fi
{'fraction_non_alphanumeric': 0.12062937062937062, 'fraction_numerical': 0.011538461538461539, 'mean_word_length': 2.2622576966932724, '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': '5641164', 'n_tokens_mistral': 1044, 'n_tokens_neox': 1011, 'n_words': 256}