forked from IBM/differential-privacy-library
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (31 loc) · 1.25 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
language: python
dist: xenial
python:
- "3.4"
- "3.5"
- "3.6"
- "3.7"
# - "3.8-dev"
matrix:
include:
- python: 3.7
script:
- (pycodestyle --max-line-length=120 diffprivlib || exit 0) && (pylint -rn diffprivlib || exit 0)
# allow_failures:
# - python: 3.8-dev
# script:
# - pytest
install:
- if [[ "$TRAVIS_PYTHON_VERSION" == "3.4" ]]; then
pip install scikit-learn==0.20.3;
fi
- pip install pylint pycodestyle
- pip install .
script: pytest
deploy:
provider: pypi
user: "naoise-h"
password:
secure: "lx+LgE0sHcnGpmTEYFAQkwrsCbbFgSD1xkseeo/8a9kFAF42/WHng1fT3iHcvqry8subUiLZbljkgHYsGwSpCTo6wZYjreBSUA1LDzdOL2exixtodMzZeBQ+kaNhZ8IG4kd7Uv75D+68CVBK/Tn2N2u4kxk67DJoUTqZj4RtFiafNnrJQ+aZcey6qQKulC7xG8YQS90PWv1tCRFGQtzdS3i+vhAVU4EMc7oZtOa9DBmuPbSdvaFhruKzkHcfZhIlA8PARH3IJGmZFzgL7WcRdExMNrQKkN7Jg3rNvlkKtSlYiBZ9oHFmOc4CYqLmZPfjNABx7Wgc8AW7gY8Umt00Ufy5cyy+WldvidguyW2J5Mukl4ZLKjU8ylMygFRfEk6/S+e2OJ8Cz/NQ6GOEcXfg8WA2aNff53DSlJ8vrx9C5HYHeL6ozxrUlLsNUe7kNTYtHBoZ91QESAaO7ltooOFSdyBVarhu3mkWg0o4w4LwTJ/UJZdszvuMfbx8Dy832FlkUSJX/K5xRY167yuZPBcd9MsOtXWvZsdTx5Qo4TjtN1/Uk/aC9REQAHoPDCwRfNJ+VZPwZmnLO9RQA5JlE4NcyIuqRTInZD5zmevSiM+mqQgmiW6+0ui8N+nNrvcB4PHmmUQnSDHuxLy8ySu9NwmdPZ8bxoxT96Wy9ValVoPl2gk="
on:
tags: true