Add missing torch dependency in travis.yml
This commit is contained in:
parent
e2c9848120
commit
bf0e694321
14
.travis.yml
14
.travis.yml
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user