-
Notifications
You must be signed in to change notification settings - Fork 35
/
.travis.yml
49 lines (43 loc) · 1.62 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
38
39
40
41
42
43
44
45
46
47
48
49
dist: xenial
sudo: required
language: python
python:
- "3.7"
- "3.8"
- "3.9"
cache: pip
before_install:
- wget https://launchpad.net/ubuntu/+source/htslib/1.2.1-2ubuntu1/+build/8443430/+files/tabix_1.2.1-2ubuntu1_amd64.deb
- sudo dpkg -i tabix_1.2.1-2ubuntu1_amd64.deb
- pip install cython
install:
- pip install tox-travis coveralls
script:
- make tox
# requires COVERALLS_REPO_TOKEN to be obtained from
# https://coveralls.io/github/biocommons/<pkg>
# and set at
# at https://travis-ci.org/biocommons/<pkg>/settings
after_success:
- coveralls
stages:
- test
- name: deploy
if: tag IS present
jobs:
include:
- stage: deploy
python: 3.8
install: skip
script: skip
deploy:
provider: pypi
user: biocommons
skip_upload_docs: true
skip_cleanup: true
distributions: "sdist bdist_wheel"
on:
tags: true
branch: main
password:
secure: h9P0Lg6al7/rwSH5P7ZWq2yj5JIK4eYGXdm0nnR6vuhE8YZIQCoqh2B+43e42ifYLC+gTrefz6sbOjj6pNQNnm3ZmDrAm934B20Qb1gLbeYFu+/u7S6lLthcsNYVhufiOwHWX9zCKGIvTY+ONPOtFv0wyE/63ZS1loAD/mF7qtIYTh+rLyk68ROSBT/Jdq5yoXHNU3IGWwX/tE3YLM/qGHa8sQD0eja9z74asXLim3YPq420Yfhwy7BIQRWXCTaTHUW02Rk9wSMHWjKBJ1/rwOBNWXowi2hCM8ga+TAzJap+2gveTwNkFgQZo3lgoVLzElXTICcmfU9CJZlYbTxPCLXzndaQuPyCKt1w2woIOuFvLiXieA4gULbqJ+MK6uQH9PID3eoUc+jdB5EWg6qZDHPCObbYRIpuDBQv2fvX05ht4OxDni2kJ+XshnVwkAvFxw9xnV5j0icWj7mI8yTTmEQVAS52Q24ZWsRrfSScMgMdhWOviJPlvRINKW0WLmx47FL+Ac6bcsWzr+fTxR3LbqhbN9xrvwriUT45dY2uL9upQhy1j9RXhAl1sZoGaA63jrlW0JI22NaGCq/47ZeYbMtCpFCOmOjin/15mE2DbD2Lp/wGy32gy+iJxT+8uLAhn6vuuM3MzRt0C4fgOP4iBPxnKAq5o41d89vPqAGr4gQ=