sudo: false

language: python
python:
  - 2.7
  - 3.4
  - 3.5

addons:
  apt:
    sources:
      # Debian sid currently holds OpenSSL 1.0.2
      - debian-sid
    packages:
      - libssl-dev

cache:
  pip: true
  directories:
    - env

install:
  - pip install coveralls

before_script:
  - openssl version -a
  - python -c 'import ssl; print(ssl.OPENSSL_VERSION)'
  - make depends
  - python -c 'from OpenSSL import SSL; print(SSL.SSLeay_version(SSL.SSLEAY_VERSION))'

script:
  - make test
  - make flake8

after_success:
  - coveralls

notifications:
  email:
    on_success: never
    on_failure: change

sudo: false

language: python
python:
  - 2.7
  - 3.4
  - 3.5

addons:
  apt:
    sources:
      # Debian sid currently holds OpenSSL 1.0.2
      - debian-sid
    packages:
      - libssl-dev

cache:
  pip: true
  directories:
    - env

install:
  - pip install coveralls

before_script:
  - openssl version -a
  - python -c 'import ssl; print(ssl.OPENSSL_VERSION)'
  - python -c 'import ssl; print(ssl.HAS_NPN)'
  - python -c 'import ssl; print(ssl.HAS_ALPN)'
  - make depends
  - python -c 'from OpenSSL import SSL; print(SSL.SSLeay_version(SSL.SSLEAY_VERSION))'

script:
  - make test
  - make flake8

after_success:
  - coveralls

notifications:
  email:
    on_success: never
    on_failure: change

Print stdlib SSL ALPN/NPN capabilities
Print stdlib SSL ALPN/NPN capabilities
