summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 55a2c9aa6bc27504cd8e276ac2cb116c2e2ee075 (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
language: python
cache: pip
script: echo "Running tests against $(python --version) ..."
jobs:
  include:
  - stage: test
    script: pytest --cov tablib
    matrix:
      include:
      - python: 2.7
      - python: 3.5
      - python: 3.6
      - python: 3.7
      - python: 3.8-dev
    install:
    - pip install -r requirements.txt
    - pip install -U pytest pytest-cov
    after_success:
    - pip install -U codecov
    - codecov
  - stage: deploy
    script: skip
    deploy:
      provider: pypi
      user: jazzband
      server: https://jazzband.co/projects/tablib/upload
      password:
        secure: svV4fYtodwW+iTyFOm5ISEfhVwcA+6vTskD3x6peznc40TdMV9Ek8nT3Q/NB4lCbXoUw2qR4H6uhLCjesnv/VvVk/qbitCyD8ySlgwOV5n7NzJs8lC8EYaHSjGQjatTwJAokfGVYkPawkI7HXDqtDggLUQBK+Ag8HDW+XBSbQIU=
      distributions: sdist bdist_wheel
      on:
        tags: true
        repo: jazzband/tablib