summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: d49f2cf1f71886d8782184c21dd7f4178e880851 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
language: python
cache: pip
matrix:
    include:
        # macOS
        - language: generic
          os: osx
          env: PYVER=py27
        - language: generic
          os: osx
          env: PYVER=py36
        # Linux
        - python: 2.7
        - python: 3.5
        - python: 3.6
        - python: 3.7
        - python: 3.8
        # pypy
        # - python: pypy
        - python: pypy3
install:
    - ./.ci/travis/install.sh
script:
    - ./.ci/travis/run.sh
after_success:
    - |
        if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]] && [[ "$(uname -s)" != 'Darwin' ]]; then
            echo "sending test coverage results to coveralls.io"
            coveralls
        fi