mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 00:20:18 +01:00
Summary: Diagram preview:  Pull Request resolved: https://github.com/pytorch/pytorch/pull/17189 Differential Revision: D14141362 Pulled By: kostmo fbshipit-source-id: 0625a1234d0307c6be79f17e756ddb1cc445b374
51 lines
1.5 KiB
YAML
51 lines
1.5 KiB
YAML
# https://travis-ci.org/pytorch/pytorch
|
|
language: python
|
|
dist: trusty
|
|
git:
|
|
submodules: false
|
|
|
|
# This reportedly works around an issue downloading packages from pypi on
|
|
# travis. Consider removing this after the underlying issue is fixed.
|
|
# https://github.com/travis-ci/travis-ci/issues/2389
|
|
sudo: false
|
|
|
|
matrix:
|
|
fast_finish: true
|
|
include:
|
|
- name: "Ensure consistent CircleCI YAML"
|
|
python: "3.6"
|
|
dist: xenial
|
|
install:
|
|
- sudo add-apt-repository universe
|
|
- sudo apt update
|
|
- sudo apt install graphviz
|
|
- pip3 install pygraphviz
|
|
script: cd .circleci && ./ensure-consistency.sh
|
|
- name: "Python 2.7 Lint"
|
|
python: "2.7"
|
|
install: pip install flake8
|
|
script: flake8
|
|
- name: "Python 3.7 Lint"
|
|
python: "3.7"
|
|
dist: xenial # required for Python 3.7 (travis-ci/travis-ci#9069)
|
|
sudo: required # required for Python 3.7 (travis-ci/travis-ci#9069)
|
|
install: pip install flake8
|
|
script: flake8
|
|
- name: "MyPy typecheck"
|
|
python: "3.6"
|
|
install: pip install mypy mypy-extensions
|
|
script: mypy @mypy-files.txt
|
|
- name: "CPP doc check"
|
|
python: "3.6"
|
|
install:
|
|
- sudo apt-get install -y doxygen
|
|
- pip install -r requirements.txt
|
|
script: cd docs/cpp/source && ./check-doxygen.sh
|
|
- name: "clang tidy"
|
|
python: "3.6"
|
|
script: tools/run-clang-tidy-in-ci.sh
|
|
|
|
branches:
|
|
only:
|
|
- master
|