forked from IBM/differential-privacy-library
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
24 lines (24 loc) · 1.13 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
language: python
dist: xenial
python:
- '3.7'
- '3.8'
- '3.9'
matrix:
include:
- python: 3.9
script:
- (pycodestyle --max-line-length=120 diffprivlib || exit 0) && (pylint -rn diffprivlib || exit 0) && (pytest --cov || exit 0)
install:
- pip install pylint pycodestyle pytest-cov
- pip install .
script: pytest
deploy:
provider: pypi
user: "__token__"
password:
secure: "HY7brEoxQlAFpMskNDnUwAyAyNNBSSkWy0kKwlMlpKrEnPyMxGGS5mHAJaTT067flX3OQUgDrRtqd8TXN+bhY8vTJFqGFP0wzlDxU4u6YrrKisVWH0vCroxdxfx8YZ8uYDoiVOXUwUskVfz+oQUcnxO8jjTGgYGxLVcFERyruRl8rL4TmfmX9AWMzPGKZNdpsa9vt6YfHx+oQ8QFq83p7+COJ/iL7j4MnKybBMOTRPbxkYobX1fW+yV1SQsrBwzYYP8oPc304dEKqSnp/SaE/ihh57kDijzh83/HIVNuZCXkjPYjlyegczmHPJWQt4AxPA0dItlbwF3sTcVpX7jU9i3mOwC2nDjosL3uau3sGxeiORXzZbVoESt4lGJca0aFwChp288CB9ra1K+3jj5jh73TNZEPbBLQWjL5+oFXR0EIRT1A7r/Z3preqFA91VckwMnY4xlVMh4n8mcANVuiqjmmmfaxb70Ec+zTSd6cuf6nPNoM9nAKb26RvspJG/FnBZRVvcLWDaRNAPYfSjM3+kbeZVnCFOiwiRL/D27uFxZjKwKBsSldMS24xPNBTqYXMwH2idJhf7v/AfXHhgRQGJYCpWElzFJHV1tg28kjcDk+fSuieWTI2Zp8rVFs7n+vwsn33KUCn16tW+wgZRhk6BTBtH7tqdvYfGuOzfA1L6A="
on:
tags: true
branch: main
condition: $TRAVIS_PYTHON_VERSION = 3.8