1# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 2# For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt 3# 4# Tell Travis what to do 5# https://travis-ci.com/nedbat/coveragepy 6 7dist: xenial 8language: python 9 10cache: pip 11 12python: 13 - '2.7' 14 - '3.5' 15 - '3.6' 16 - '3.7' 17 - '3.8' 18 - 'pypy2.7-6.0' 19 - 'pypy3.5-6.0' 20 21# Only testing it for python3.8 on aarch64 platform, since it already has a lot 22# of jobs to test and takes long time. 23matrix: 24 include: 25 - python: 3.8 26 arch: arm64 27 env: 28 - COVERAGE_COVERAGE=no 29 - python: 3.8 30 arch: arm64 31 env: 32 - COVERAGE_COVERAGE=yes 33 34env: 35 matrix: 36 - COVERAGE_COVERAGE=no 37 - COVERAGE_COVERAGE=yes 38 39install: 40 - pip install -r requirements/ci.pip 41 - pip freeze 42 43script: 44 - tox 45 46after_script: 47 - | 48 if [[ $COVERAGE_COVERAGE == 'yes' ]]; then 49 python igor.py combine_html 50 pip install codecov 51 codecov -X gcov --file coverage.xml 52 fi 53