-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy path.travis.yml
50 lines (43 loc) · 850 Bytes
/
.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
38
39
40
41
42
43
44
45
46
47
48
49
50
language: python
python:
- 3.8
cache:
directories:
- $HOME/.cache/pre-commit
addons:
apt:
packages:
- pandoc
install: pip install -U poetry tox-travis codecov coverage travis-sphinx
script: tox
after_success: coverage combine && codecov
stages:
- test
- docs
- name: deploy
jobs:
fast_finish: true
include:
- python: 3.8
env: TOXENV=test1
- python: 3.8
env: TOXENV=test2
- python: 3.8
env: TOXENV=test3
- python: 3.8
env: TOXENV=lint
- stage: docs
python: 3.8
env: TOXENV=docs
before_deploy:
- pip install --upgrade pip
- pip install poetry
- poetry config pypi-token.pypi $PYPI_PASSWORD
deploy:
- provider: script
script: poetry publish -v --build
on:
tags: true
python: 3.8
repo: kiudee/cs-ranking
branch: master