summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 15c6f5b9f89cc1646132f4ead53560de70af909f (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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
language: python
cache:
  directories:
  - "$HOME/.cache/pip"
  - "$HOME/.pyenv"
matrix:
  include:
  - name: 'Ubuntu: 3.9'
    os: linux
    python: 3.9
  - name: 'Ubuntu: 3.8'
    os: linux
    python: 3.8
  - name: 'Ubuntu: 3.7'
    os: linux
    python: 3.7
  - name: 'Ubuntu: 3.6'
    os: linux
    python: 3.6
  - name: 'Ubuntu: 2.7'
    os: linux
    python: 2.7
  - name: 'Ubuntu: PyPy 3.7'
    os: linux
    env: PYPY_URL=https://downloads.python.org/pypy/pypy3.7-v7.3.3-linux64.tar.bz2
  - name: 'Ubuntu: PyPy 2.7'
    os: linux
    env: PYPY_URL=https://downloads.python.org/pypy/pypy2.7-v7.3.3-linux64.tar.bz2
  - name: 'OSX: 3.9'
    os: osx
    language: generic
    env: PYENV_VERSION=3.9.0 BUILD_SDIST=true
    osx_image: xcode12.3
  - name: 'OSX: 3.7'
    os: osx
    language: generic
    env: PYENV_VERSION=3.7.4 BUILD_SDIST=true
    osx_image: xcode9.4
  - name: 'OSX: 3.6'
    os: osx
    language: generic
    env: PYENV_VERSION=3.6.5
    osx_image: xcode9.4
  - name: 'OSX: 2.7'
    os: osx
    language: generic
    env: PYENV_VERSION=2.7.15
    osx_image: xcode9.4
install:
- "./.travis/install.sh"
script:
- "./.travis/run.sh"
deploy:
  provider: releases
  api_key:
    secure: ik/Btxv+NMOGjKuNnilYSeATYwL7sHy8nildzQcF+GMCFL8mDcerXRoC1jOF+ETsmSOAZ95NOEUGNiyvCApy4VgYvBvz7mJzdaob034+GXOStEIdBBvV8v9XB9XwQpJUUGvRMSF9WMUGmhyQ9PQEPOHfERgLkdlcY24djCJm/6A=
  file:
  - dist/*.whl
  - dist/*.tar.gz
  file_glob: true
  on:
    repo: xattr/xattr
    tags: true
  skip_cleanup: true