language: generic stages: - unit tests - build testapps services: - docker before_install: # https://github.com/travis-ci/travis-ci/issues/6069#issuecomment-266546552 - git remote set-branches --add origin develop - git fetch jobs: include: - &unittests stage: unit tests language: python python: 3.7 before_script: # We need to escape virtualenv for `test_pythonpackage_basic.test_virtualenv` # See also: https://github.com/travis-ci/travis-ci/issues/8589 - type -t deactivate && deactivate || true - export PATH=/opt/python/3.7/bin:$PATH # Install tox - pip3.7 install tox>=2.0 # Install coveralls & dependencies # Note: pyOpenSSL needed to send the coveralls reports - pip3.7 install pyOpenSSL - pip3.7 install coveralls script: # ignores test_pythonpackage.py since it runs for too long - t