summaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: 7ec03af16a0ea7d8633b81caa331f70365c79c04 (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

cache: pip

python:
  - '2.7'
  - '3.4'
  - '3.5'
  - '3.6'
  - '3.7'
  - '3.8'
  - pypy3

install:
  - pip install -r requirements.txt
  - pip install coveralls

script:
  - pip install .
  - coverage run --source=glances unitest.py

after_success:
  - coveralls

deploy:
  - provider: pypi
    user: nicolargo
    password:
      secure: Fms23jiiKKq6qJMsZYrmBz5mC753VGrjCxzVrsioENfH3KaFf6kUc9fTYntaLvjLPTNBkU3R2IORfVOikJKmNWqWVZOdJ/nq8zPl6o9MgdNcX7qWTvY8Fi9MW7tIZHrehhm0LvWFVq8ZSc8iYzw3/741lvBh8vpJZSQs3sq/1QI=
    on:
      tags: true
      branch: master
      distributions: sdist bdist_wheel
      repo: nicolargo/glances
  - provider: pypi
    server: https://test.pypi.org/legacy/
    user: nicolargo
    password:
      secure: kxchYP3VJWe74jun0rJjuEFFpnO2sF3WHsK5Axlz4flJ6dtX0OPeZd9SlqgMX7cv9FHcXxyukVKrw4PHVqUNcWoaKM8TNeddKkGeSjcVY5C7NIExXh5es4SguozdT4cckoJUyN2xXc7cUAM68CHWfxijR6NiDMXIuMJrZumye6c=
    on:
      tags: false
      branch: develop
      distributions: sdist bdist_wheel
      repo: nicolargo/glances