-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
35 lines (35 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
language: python
python:
- '3.6'
- '3.7'
- '3.8'
- '3.9'
install:
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh
-O miniconda.sh; else wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
-O miniconda.sh; fi
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes
- conda update -q conda
- conda install conda-build anaconda-client pytest pytest-cov
- conda config --set auto_update_conda no
- conda build conda.recipe --no-test
- conda install --use-local lazyprofiler
- conda info -a
script:
- pytest -v --color=yes --cov=lazyprofiler tests
after_success:
- conda install -c conda-forge codecov
- codecov
deploy:
provider: pypi
distributions: sdist bdist_wheel
skip_existing: true
user: __token__
password:
secure: S/S0Z8JxptmIzu7ro4Y1OJY04KDc94Cm8T3T4b+x1xfbS8QnjIS4mtDLFq2qtEKEc0fL7Kl+ZzdAruVwd96eNIwdxCOOtCkAuKlSzORHVqa/GQmtUpRLPzb1cGc98uFavFqbwM1odvf2rltuH3HjCrokaDXbFwFIVonKh/fldeDCfqcJt0hQTHtINwmAIUdNNo7HYDSr44HLEsPmCcyWLR4f4l2D+JQm4Lv4ZiaJnPMWHJR4F5gh33ZRQ8WPI6eO8yveMAI+7T71YyQ3afZl3Na5XxN219jsuH4A/1+tCSE/7xQWmCCmIrFYXZjzsKO2XE77P0DvBrFGm/15jX3rSdDPdoWRCtToCrlPACa7g0p8uJ0X61mXdXRY2ozcLCKgj2BsfalEste5Z61WKzO2pmj7Pp4P6gp4XOWtJoCYVNO+hnlfR/KppudwdnMhTQ4mLGTJjdmMPp6gdoOZme717fsGMwxMApgSNXYYNeI8OmVCpbtnsTCH6lwvrC6H2yqUT4Uk07nqf6c8K322mdtMlktXKAqMJaHJea+x++bWvhyQCYpH6bnoWYSxD1DsrY55nKPMt0sQLhTFHAcnQJ2Q5XH3HbinEWi7eVCkQ3aDcZ4Mq/KR0qdCbasvGmdwM+kii44aqgoNiSXG9OWLgNGjD0Uc4YTai4PgUrZBsHA6tf8=
on:
tags: true
repo: shankarpandala/lazyprofiler