<commit_before>language: c

matrix:
  include:
    # do one build run with our minimum dependencies
    # (or, well, at least the lowest version number that is available through
    #  anaconda..)
    - os: linux
      env: PYTHON_VERSION=2.7
    - os: linux
      env: PYTHON_VERSION=3.5

    - os: osx
      env: PYTHON_VERSION=2.7
    - os: osx
      env: PYTHON_VERSION=3.5

before_install:
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
       brew install fftw --with-fortran;
    else
       sudo apt-get update; 
       sudo apt-get install libblas-dev liblapack-dev g++ gfortran libfftw3-dev tcsh;
    fi

install:
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
      export OS="MacOSX";
    else
      export OS="Linux";
    fi
  - if [[ "${PYTHON_VERSION:0:1}" == '2' ]]; then
      wget https://repo.continuum.io/miniconda/Miniconda-latest-${OS}-x86_64.sh -O miniconda.sh;
    else
      wget https://repo.continuum.io/miniconda/Miniconda3-latest-${OS}-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

  - conda create -q -n test-environment
        python=$PYTHON_VERSION
        numpy
        scipy
        matplotlib
        jupyter
  - conda install nbconvert
  - source activate test-environment
  - pip install --no-deps .  

script:
  - if [[ "${PYTHON_VERSION:0:1}" == '2' ]]; then
      make notebooks2
    else
      make notebooks3
    fi
  - mkdir empty
  - cd empty
  - python -c "import pyshtools"
  - python ../examples/python/TimingAccuracy/TimingAccuracyDH.py

notifications:
    email: false
<commit_msg>travis syntax<commit_after>language: c

matrix:
  include:
    # do one build run with our minimum dependencies
    # (or, well, at least the lowest version number that is available through
    #  anaconda..)
    - os: linux
      env: PYTHON_VERSION=2.7
    - os: linux
      env: PYTHON_VERSION=3.5

    - os: osx
      env: PYTHON_VERSION=2.7
    - os: osx
      env: PYTHON_VERSION=3.5

before_install:
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
       brew install fftw --with-fortran;
    else
       sudo apt-get update; 
       sudo apt-get install libblas-dev liblapack-dev g++ gfortran libfftw3-dev tcsh;
    fi

install:
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
      export OS="MacOSX";
    else
      export OS="Linux";
    fi
  - if [[ "${PYTHON_VERSION:0:1}" == '2' ]]; then
      wget https://repo.continuum.io/miniconda/Miniconda-latest-${OS}-x86_64.sh -O miniconda.sh;
    else
      wget https://repo.continuum.io/miniconda/Miniconda3-latest-${OS}-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

  - conda create -q -n test-environment
        python=$PYTHON_VERSION
        numpy
        scipy
        matplotlib
        jupyter
  - conda install nbconvert
  - source activate test-environment
  - pip install --no-deps .  

script:
  - if [[ "${PYTHON_VERSION:0:1}" == '2' ]]; then
      make notebooks2;
    else
      make notebooks3;
    fi
  - mkdir empty
  - cd empty
  - python -c "import pyshtools"
  - python ../examples/python/TimingAccuracy/TimingAccuracyDH.py

notifications:
    email: false

{'fraction_non_alphanumeric': 0.12209302325581395, 'fraction_numerical': 0.015697674418604653, 'mean_word_length': 2.3214285714285716, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '7603649', 'n_tokens_mistral': 1307, 'n_tokens_neox': 1271, 'n_words': 313}