Add missing torch dependency in travis.yml

This commit is contained in:
blackfly 2020-04-06 21:16:43 +02:00
parent e2c9848120
commit bf0e694321

View File

@ -1,21 +1,19 @@
# Disable sudo to speed up the build dist: trusty
sudo: false sudo: false
# Set the build language to Python
language: python language: python
# Set the python version to 3.8
python: 3.8 python: 3.8
# cache:
# directories:
# - $HOME/.prototorch
# Install the codecov pip dependency
install: install:
- pip install . --progress-bar off
- pip install codecov - pip install codecov
- pip install pytest - pip install pytest
# Run the unit test
script: script:
- coverage run -m pytest - coverage run -m pytest
# Push the results back to codecov # Push the results to codecov
after_success: after_success:
- codecov - codecov