<commit_before>services:
  - mysql

environment:
  matrix:
    - PYTHON: "C:\\Miniconda36-x64"
      PYTHON_VERSION: "3.6"
      PYTHON_ARCH: "64"
      platform: x64
      STANDALONE: "FALSE"
      CONDA_PY: "36"
      CONDA_BUILD: "TRUE"
      SPLIT_RUN: "FALSE"
#  PMG_MAPI_KEY:
#    secure: <KEY>
  PYPIPWD:
    secure: <KEY>eLJ8p3f936jh7g==
install:
  # Add the paths
  - 'set PATH=%PYTHON%;%PYTHON%\Library\bin;%PYTHON%\Scripts;%PATH%'
  - 'set MPLBACKEND=Agg'
  - 'conda config --system --add channels conda-forge'
  # Install the build dependencies of the project via conda and pip
  - 'conda install --yes --quiet numpy scipy matplotlib sympy cython pandas pip python-igraph'
  - 'conda install --yes --quiet --channel matsci spglib netcdf4 h5py'
  # - 'conda update --yes --all'
  - 'pip install -r requirements.txt'
  - 'pip install pybtex pytest pytest-cov ase coveralls fdint ase twine networkx'
  # Note that pyhull is excluded because it does not work on Windows.
  # Run develop to install in dev mode and build C extension.
  - "python setup.py develop"

build: false

test_script:
  - "pytest --ignore=pymatgen/ext/tests/test_matproj.py --ignore=pymatgen/analysis/tests/test_pourbaix_diagram.py --ignore=pymatgen/tests/test_init.py --ignore-glob='pymatgen/analysis/defects/tests/test_*.py' pymatgen"

notifications:
  - provider: Email
    to:
      - <EMAIL>
    on_build_success: false
    on_build_failure: true
    on_build_status_changed: true

deploy_script:
   - IF "%APPVEYOR_REPO_BRANCH%" == "stable" (python setup.py sdist bdist_wheel)
   - IF "%APPVEYOR_REPO_BRANCH%" == "stable" (twine upload --username Shyue.Ping.Ong --password %PYPIPWD% dist/*.whl)<commit_msg>TRy to install numpy first.<commit_after>services:
  - mysql

environment:
  matrix:
    - PYTHON: "C:\\Miniconda36-x64"
      PYTHON_VERSION: "3.6"
      PYTHON_ARCH: "64"
      platform: x64
      STANDALONE: "FALSE"
      CONDA_PY: "36"
      CONDA_BUILD: "TRUE"
      SPLIT_RUN: "FALSE"
#  PMG_MAPI_KEY:
#    secure: <KEY>
  PYPIPWD:
    secure: QPpXonUAeLJ8p3f936jh7g==
install:
  # Add the paths
  - 'set PATH=%PYTHON%;%PYTHON%\Library\bin;%PYTHON%\Scripts;%PATH%'
  - 'set MPLBACKEND=Agg'
  - 'conda config --system --add channels conda-forge'
  # Install the build dependencies of the project via conda and pip
  - 'conda install --yes --quiet numpy scipy matplotlib sympy cython pandas pip python-igraph'
  - 'conda install --yes --quiet --channel matsci spglib netcdf4 h5py'
  # - 'conda update --yes --all'
  - 'pip install --upgrade numpy'
  - 'pip install -r requirements.txt'
  - 'pip install pybtex pytest pytest-cov ase coveralls fdint ase twine networkx'
  # Note that pyhull is excluded because it does not work on Windows.
  # Run develop to install in dev mode and build C extension.
  - "python setup.py develop"

build: false

test_script:
  - "pytest --ignore=pymatgen/ext/tests/test_matproj.py --ignore=pymatgen/analysis/tests/test_pourbaix_diagram.py --ignore=pymatgen/tests/test_init.py --ignore-glob='pymatgen/analysis/defects/tests/test_*.py' pymatgen"

notifications:
  - provider: Email
    to:
      - <EMAIL>
    on_build_success: false
    on_build_failure: true
    on_build_status_changed: true

deploy_script:
   - IF "%APPVEYOR_REPO_BRANCH%" == "stable" (python setup.py sdist bdist_wheel)
   - IF "%APPVEYOR_REPO_BRANCH%" == "stable" (twine upload --username Shyue.Ping.Ong --password %PYPIPWD% dist/*.whl)
{'fraction_non_alphanumeric': 0.11987198137910969, 'fraction_numerical': 0.011638056444573755, 'mean_word_length': 3.3740458015267176, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, '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': '7503561', 'n_tokens_mistral': 1341, 'n_tokens_neox': 1295, 'n_words': 317}