language: python
python:
- '2.7'
- '3.5'
- '3.5-dev'
- '3.6'
- '3.6-dev'
before_install:
- openssl aes-256-cbc -K $encrypted_a288ee1b388d_key -iv $encrypted_a288ee1b388d_iv
  -in tests/test_data.tar.bz2.enc -out tests/test_data.tar.bz2 -d
- tar jxf tests/test_data.tar.bz2 -C tests
install:
- pip install -U pip pytest-cov codecov
- pip install -I -e .
script:
- chmod +x ./run_tests.py ./setup.py
- python setup.py test
- python setup.py build
- python setup.py sdist
- python setup.py bdist
- python setup.py install
- coverage run --source=pefile --omit="*_test*,*__init__*,*test_lib*" ./run_tests.py
after_success:
- coveralls --verbose
addons:
  artifacts:
    debug: true
    paths:
    - $(git ls-files -o | grep .txt | grep -v pefile.egg-info | tr "\n" ":")
    - codecov

language: python
cache: pip
sudo: false
matrix:
  include:
    - python: 2.7
    - python: 3.5
    - python: 3.6
    - python: 3.7
      dist: xenial
      sudo: yes
    - python: nightly
      dist: xenial
      sudo: yes
    - python: pypy
    - python: pypy3
before_install:
- openssl aes-256-cbc -K $encrypted_a288ee1b388d_key -iv $encrypted_a288ee1b388d_iv
  -in tests/test_data.tar.bz2.enc -out tests/test_data.tar.bz2 -d
- tar jxf tests/test_data.tar.bz2 -C tests
install:
- pip install -U pip pytest-cov codecov
- pip install -I -e .
script:
- chmod +x ./run_tests.py ./setup.py
- python setup.py test
- python setup.py build
- python setup.py sdist
- python setup.py bdist
- python setup.py install
- coverage run --source=pefile --omit="*_test*,*__init__*,*test_lib*" ./run_tests.py
after_success:
- coveralls --verbose
addons:
  artifacts:
    debug: true
    paths:
    - $(git ls-files -o | grep .txt | grep -v pefile.egg-info | tr "\n" ":")
    - codecov

Enable testing for more recent python3.7 and pip
Enable testing for more recent python3.7 and pip
