<commit_before>language: python

# Run jobs on container-based infrastructure, can be overridden per job
dist: xenial

matrix:
  include:
    # Test osx with RDKit
    - os: osx
      language: generic
      env: PYTHON_VER=3.6 RDKIT=true
    - os: osx
      language: generic
      env: PYTHON_VER=3.7 RDKIT=true

    # Test RDKit compatibility
    - os: linux
      python: 3.6
      env: PYTHON_VER=3.6 RDKIT=true
    - os: linux
      python: 3.7
      sudo: required
      env: PYTHON_VER=3.7 RDKIT=true

    # Test OpenEye compatibility
    - os: linux
      python: 3.6
      env: PYTHON_VER=3.6 OPENEYE=true
    - os: linux
      sudo: required
      python: 3.7
      env: PYTHON_VER=3.7 OPENEYE=true

    # Test case where both OpenEye and RDKit are installed
    - os: linux
      python: 3.6
      env: PYTHON_VER=3.6 OPENEYE=true RDKIT=true
    - os: linux
      sudo: required
      python: 3.7
      env: PYTHON_VER=3.7 OPENEYE=true RDKIT=true

env:
  global:
    - OE_LICENSE="$HOME/oe_license.txt"

before_install:
    # Additional info about the build
  - uname -a
  - df -h
  - ulimit -a

    # Install the Python environemt
  - source devtools/travis-ci/before_install.sh
  - python -V
  # Unpack encrypted OpenEye license file
  - if [[ "$OPENEYE" == true && "$TRAVIS_SECURE_ENV_VARS" == true ]]; then openssl aes-256-cbc -K $encrypted_5f58236b8908_key -iv $encrypted_5f58236b8908_iv -in oe_license.txt.enc -out $OE_LICENSE -d; fi
  - if [[ "$OPENEYE" == true && "$TRAVIS_SECURE_ENV_VARS" == false ]]; then echo "OpenEye license will not be installed in forks."; fi

install:
  # Create test environment for package
  - conda create -n test python=$PYTHON_VER pip pytest pytest-cov
  - source activate test

  # Use beta version for partial bond orders<commit_msg>Updated OE license decryption<commit_after>language: python

# Run jobs on container-based infrastructure, can be overridden per job
dist: xenial

matrix:
  include:
    # Test osx with RDKit
    - os: osx
      language: generic
      env: PYTHON_VER=3.6 RDKIT=true
    - os: osx
      language: generic
      env: PYTHON_VER=3.7 RDKIT=true

    # Test RDKit compatibility
    - os: linux
      python: 3.6
      env: PYTHON_VER=3.6 RDKIT=true
    - os: linux
      python: 3.7
      sudo: required
      env: PYTHON_VER=3.7 RDKIT=true

    # Test OpenEye compatibility
    - os: linux
      python: 3.6
      env: PYTHON_VER=3.6 OPENEYE=true
    - os: linux
      sudo: required
      python: 3.7
      env: PYTHON_VER=3.7 OPENEYE=true

    # Test case where both OpenEye and RDKit are installed
    - os: linux
      python: 3.6
      env: PYTHON_VER=3.6 OPENEYE=true RDKIT=true
    - os: linux
      sudo: required
      python: 3.7
      env: PYTHON_VER=3.7 OPENEYE=true RDKIT=true

env:
  global:
    - OE_LICENSE="$HOME/oe_license.txt"

before_install:
    # Additional info about the build
  - uname -a
  - df -h
  - ulimit -a

    # Install the Python environemt
  - source devtools/travis-ci/before_install.sh
  - python -V
  # Unpack encrypted OpenEye license file
  #- if [[ "$OPENEYE" == true && "$TRAVIS_SECURE_ENV_VARS" == true ]]; then openssl aes-256-cbc -K $encrypted_5f58236b8908_key -iv $encrypted_5f58236b8908_iv -in oe_license.txt.enc -out $OE_LICENSE -d; fi
  - if [ "$TRAVIS_SECURE_ENV_VARS" == true ]; then openssl aes-256-cbc -K $encrypted_a4fdffb2b55a_key -iv $encrypted_a4fdffb2b55a_iv -in oe_license.txt.enc -out $OE_LICENSE -d; fi
  - if [[ "$OPENEYE" == true && "$TRAVIS_SECURE_ENV_VARS" == false ]]; then echo "OpenEye license will not be installed in forks."; fi

install:
  # Create test environment for package
  - conda create -n test python=$PYTHON_VER pip pytest pytest-cov
  - source activate test

  # Use beta version for partial bond orders
{'fraction_non_alphanumeric': 0.09583222723652775, 'fraction_numerical': 0.02999734536766658, 'mean_word_length': 2.7159763313609466, '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': '7501525', 'n_tokens_mistral': 1489, 'n_tokens_neox': 1385, 'n_words': 388}