-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
47 lines (38 loc) · 989 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
# Config file for automatic testing at travis-ci.com
# To connect a new edX repository to Travis, see
# https://openedx.atlassian.net/wiki/spaces/EdxOps/pages/157464369/How+to+connect+a+repository+to+Travis+CI
#
# Be sure to change the Travis settings in the web UI to enable both
# "Build pushed branches" and "Build pushed pull requests".
language: python
python:
- 3.8
matrix:
include:
- python: 3.8
env: TOXENV=py38
- python: 3.8
env: TOXENV=quality
- python: 3.8
env: TOXENV=docs
- python: 3.8
env: TOXENV=pii_check
cache:
- pip
before_install:
- pip install --upgrade pip
install:
- pip install -r requirements/travis.txt
script:
- tox
after_success:
- codecov
# Set token via "travis encrypt --add deploy.password"; for details, see
# https://docs.travis-ci.com/user/deployment/pypi
deploy:
provider: pypi
user: "__token__"
distributions: sdist bdist_wheel
on:
tags: true
condition: '$TOXENV = quality'