Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,19 @@ jobs:
sudo mv clang-format /opt/clang-format
./travis-scripts/run-clang-format/run-clang-format.py -r torchvision/csrc --clang-format-executable /opt/clang-format

torchhub_test:
docker:
- image: circleci/python:3.7
steps:
- checkout
- run:
command: |
pip install --user --progress-bar off numpy
pip install --user --progress-bar off --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
# need to install torchvision dependencies due to transitive imports
pip install --user --progress-bar off --editable .
python test/test_hub.py

binary_linux_wheel:
<<: *binary_common
docker:
Expand Down Expand Up @@ -1060,6 +1073,7 @@ workflows:
- python_lint
- python_type_check
- clang_format
- torchhub_test

unittest:
jobs:
Expand Down Expand Up @@ -1174,6 +1188,7 @@ workflows:
- python_lint
- python_type_check
- clang_format
- torchhub_test
- binary_linux_wheel:
cu_version: cpu
filters:
Expand Down
15 changes: 15 additions & 0 deletions .circleci/config.yml.in
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,19 @@ jobs:
sudo mv clang-format /opt/clang-format
./travis-scripts/run-clang-format/run-clang-format.py -r torchvision/csrc --clang-format-executable /opt/clang-format

torchhub_test:
docker:
- image: circleci/python:3.7
steps:
- checkout
- run:
command: |
pip install --user --progress-bar off numpy
pip install --user --progress-bar off --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
# need to install torchvision dependencies due to transitive imports
pip install --user --progress-bar off --editable .
python test/test_hub.py

binary_linux_wheel:
<<: *binary_common
docker:
Expand Down Expand Up @@ -686,6 +699,7 @@ workflows:
- python_lint
- python_type_check
- clang_format
- torchhub_test

unittest:
jobs:
Expand All @@ -702,6 +716,7 @@ workflows:
- python_lint
- python_type_check
- clang_format
- torchhub_test
{{ build_workflows(prefix="nightly_", filter_branch="nightly", upload=True) }}
docker_build:
triggers:
Expand Down
65 changes: 0 additions & 65 deletions .travis.yml

This file was deleted.