prototorch_models/.travis.yml

30 lines
1.2 KiB
YAML
Raw Normal View History

2021-05-10 13:32:52 +00:00
dist: bionic
sudo: false
language: python
python:
- 3.9
- 3.8
- 3.7
- 3.6
2021-05-10 13:32:52 +00:00
cache:
directories:
- "$HOME/.cache/pip"
2021-05-10 13:32:52 +00:00
- "./tests/artifacts"
- "$HOME/datasets"
2021-05-10 13:32:52 +00:00
install:
2021-05-21 16:35:00 +00:00
- pip install git+git://github.com/si-cim/prototorch@dev --progress-bar off
2021-05-10 13:32:52 +00:00
- pip install .[all] --progress-bar off
script:
- coverage run -m pytest
2021-05-21 16:16:17 +00:00
- ./tests/test_examples.sh examples/
2021-05-10 13:32:52 +00:00
after_success:
- bash <(curl -s https://codecov.io/bash)
deploy:
provider: pypi
username: __token__
password:
2021-05-10 14:03:23 +00:00
secure: PDoASdYdVlt1aIROYilAsCW6XpBs/TDel0CSptDzX0CI7i4+ksEW6Jk0JyL58bQt7V4F8PeGty4A8SODzAUIk2d8sty5RI4VJjvXZFCXlUsW+JGUN3EvWNqJLnwN8TDxgu2ENao37GUh0dC6pL8b6bVDGeOLaY1E/YR1jimmTJuxxjKjBIU8ByqTNBnC3rzybMTPU3nRoOM/WMQUyReHrPoUJj685sLqrLruhAqhiYsPbotP8xY6i8+KBbhp5vgiARV2+LkbeGcYZwozCzrEqPKY7YIfVPh895cw0v4NRyFwK1P2jyyIt22Z9Ni0Uy1J5/Qp9Sv6mBPeGjm3pnpDCQyS+2bNIDaj08KUYTIo1mC/Jcu4jQgppZEF+oey9q1tgGo+/JhsTeERKV9BoPF5HDiRArU1s5aWJjFnCsHfu+W1XqX8bwN3aTYsEIaApT3/irc6XyFJIfMN82+z+lUcZ4Y1yAHT3nH1Vif+pZYZB0UOSGrHwuI/UayjKzbCzHMuHWylWB/9ehd4o4YVp6iubVHc7Sj0KQkwBgwgl6TvwNcUuFsplFabCxmX0mVcavXsWiOBc+ivPmU6574zGj0JcEk5ghVgnKH+QS96aVrKOzegwbl4O13jY8dJp+/zgXl0gJOvRKr4BhuBJKcBaMQHdSKUChVsJJtqDyt59GvWcbg=
2021-05-10 13:32:52 +00:00
on:
2021-05-10 15:06:23 +00:00
tags: true
skip_existing: true