forked from julienmalard/Tinamit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (37 loc) · 1.38 KB
/
.travis.yml
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
language: python
python:
- '3.7'
os:
- linux
env:
global:
- TX_BRANCH="master"
install:
- pip install --upgrade pip setuptools wheel
- pip install transifex-client sphinx sphinx-intl
- pip install -r reqs.txt
- pip install -r reqs.op.txt
- pip install coveralls codecov
- python setup.py sdist bdist_wheel
- pip install .[tinamit]
script:
- rm -r tinamit
- cd pruebas
- coverage run -m unittest
after_success:
- coveralls --rcfile=.coveragerc
- codecov
- cd ..
- cd docs
- if [[ $TRAVIS_PULL_REQUEST == "false" ]]; then sh .tx/tx.sh push; sh .tx/tx.sh pull;
fi
- cd ..
deploy:
provider: pypi
user: julien.malard
password:
secure: pXM8GUCauL2GI1r2cinSSSEDk9/Golsz94W5pYv+NuzfPgWMOjRJq2UqQPNk+ElHRn0c69muW8AZ7jPTR+XP9CpXn4deYv8aQ0TCJ5aRutmFx1lTGXSHSqH2RN6LOsurAs8LI1V4kp3nYXUno4WxMVWPzr7O0exd+ao5dJkmHYAYZ06k4Uaflr9qFtJKawYuQoejVAWBGVHWr7d4GnEnIqXl3Wzz6gFBWv9Oeftubwt8fzN6XW9OEHkzE5xfooOdpKjKwWpSvO9pJu0W1OheupUlLSnuncATVPGmr4cEbsUl3UHrPeiSmdSUa3kEXHluFsdSoXHnSh6O0T1ta3oYatuOWIP+le8sW67erWZ8qmtZhA7dverVzaKFmAFhJ/8epxftI0Geeth3jtEc/X+aURCPlE/3RGbJIk+jEz1CnZ7zAz0tAUs/T4Ct9bA11+F7ikDNU2EOy8sO98/DBOeYRnDJXWU31EA2CMI21uLJJM+FxxiC1xRnH7TNZO3ZQz7JTjlnkV45VnmPSpMbXT54khbXchaDChph++6CNE53jCAHbPazel1Q1fOBtkXWPCogmFDplzGg++papCV8AtlaPQc4C75JkKZfOtllcWF40upW0OBci26vLT1TCISe7mhG9/Df0YGjOhUxrO7VdCLWhFaCB+RytsGN7KQFtnGhJBU=
distributions: sdist bdist_wheel
skip_existing: true
on:
tags: true