summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 13e79c7e23f667833290d6b4e42008dc59aca6dd (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
language: python

install:
  - |
    if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
      # On OS X, we use the "generic" language and manually install Python so
      # that we can specify the versions to test
      curl -L raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash
      export PATH=~/.pyenv/bin:$PATH
      eval "$(pyenv init -)"
      pyenv install --skip-existing $PYTHON_VERSION
      pyenv global $PYTHON_VERSION
      pyenv shell $PYTHON_VERSION
      pip install -U pip setuptools wheel py
    fi
    pip install .

script:
  - python test.py

matrix:
  include:
    - os: linux
      python: pypy
    - os: linux
      python: pypy3
    - os: linux
      python: 2.7
    - os: linux
      python: 3.4
    - os: linux
      python: 3.5
    - os: linux
      python: 3.6
    - os: linux
      python: 3.7
    - os: linux
      python: 3.8
    - os: osx
      language: generic
      env: PYTHON_VERSION=3.6.2
    - os: osx
      language: generic
      env: PYTHON_VERSION=2.7.10