language: python dist: xenial python: - "2.7" - "3.5" - "3.6" - "3.7.3" - "3.8" env: global: - TROPO_REAL_BOOL=true before_install: - pip install --upgrade pip setuptools wheel install: - pip install --upgrade flake8 before_script: - if [[ $TRAVIS_PYTHON_VERSION == 3* ]]; then 2to3 -n -w --no-diffs troposphere scripts/cfn2py scripts/gen.py examples/CustomResource.py tests; fi - flake8 --version - flake8 . --show-source script: - python setup.py test