diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 483164a7..00000000 --- a/.travis.yml +++ /dev/null @@ -1,90 +0,0 @@ -# vim ft=yaml - -# After changing this file, check it on: -# http://yaml-online-parser.appspot.com/ - -# See doc/travis_notes.txt for some guidelines - -# this file is *not* meant to cover or endorse the use of travis, but rather to -# help confirm pull requests to this project. - -env: - global: - - DISPLAY="" - -language: python - -matrix: - include: - - dist: xenial # Ubuntu 16.04 - python: 3.6 - env: - - TOXENV=py36 - - MIN_REQUIREMENTS=1 - - dist: xenial # Ubuntu 16.04 - python: 3.7 - env: - - TOXENV=py37 - - MIN_REQUIREMENTS=1 - - dist: bionic # Ubuntu 18.04 - python: 3.6 - env: TOXENV=py36 - - dist: bionic # Ubuntu 18.04 - python: 3.7 - env: TOXENV=py37 - - os: osx - # https://blog.travis-ci.com/2019-08-07-extensive-python-testing-on-travis-ci - osx_image: xcode10.3 - language: generic - env: TOXENV=py37 - #addons: - # homebrew: - # # update: true - # packages: python3.7 - before_install: - - pip3 install virtualenv==16.0.0 - - virtualenv -p python3 ~/venv - - source ~/venv/bin/activate -# - os: windows -# language: minimal -# before_install: -# - choco install python3 -# - export PATH="/c/Python37:/c/Python37/Scripts:$PATH" -# env: TOXENV=py37 - -# See http://docs.travis-ci.com/user/caching/#pip-cache -cache: pip - -install: - - pip install future # needed for `builtins` - - pip install tox virtualenv==16.0.0 - -before_script: - # rewrite all minimal requirements as strict - - if [[ "${MIN_REQUIREMENTS}" == "1" ]]; then - python -c "req = open('requirements.txt').read().replace('>', '=') ; open('requirements-ci.txt', 'w').write(req)" ; - else - cp requirements.txt requirements-ci.txt ; - fi - - pip install -r requirements-ci.txt -U - -script: - # integration - - tox --sitepackages - - #- python setup.py install --dry-run --user - - virtualenv vEnv ; - source vEnv/bin/activate - - pip install --editable . ; - cd .. & python -c "import pytorch_lightning ; print(pytorch_lightning.__version__)" - - deactivate ; - rm -rf vEnv - -after_success: - - coverage report - # disable auto coverage bc it isn't accurate since it misses gpu code. - # to get coverage, run local and push results - # - codecov - -notifications: - email: false diff --git a/README.md b/README.md index e5183920..7aa3b5e6 100644 --- a/README.md +++ b/README.md @@ -9,23 +9,35 @@ [![PyPI Status](https://badge.fury.io/py/pytorch-lightning.svg)](https://badge.fury.io/py/pytorch-lightning) [![PyPI Status](https://pepy.tech/badge/pytorch-lightning)](https://pepy.tech/project/pytorch-lightning) -[![Build Status](https://travis-ci.org/PytorchLightning/pytorch-lightning.svg?branch=master)](https://travis-ci.org/PytorchLightning/pytorch-lightning) -[![Build status](https://ci.appveyor.com/api/projects/status/nwr730s1qd9199g3/branch/master?svg=true)](https://ci.appveyor.com/project/PyTorchLightning/pytorch-lightning/branch/master) [![Coverage](docs/source/_static/images/coverage.svg)](https://github.com/PytorchLightning/pytorch-lightning/tree/master/tests#running-coverage) -[![CodeFactor](https://www.codefactor.io/repository/github/pytorchlightning/pytorch-lightning/badge)](https://www.codefactor.io/repository/github/pytorchlightning/pytorch-lightning) +[![CodeFactor](https://www.codefactor.io/repository/github/pytorchlightning/pytorch-lightning/badge)](https://www.codefactor.io/repository/github/pytorchlightning/pytorch-lightning) [![ReadTheDocs](https://readthedocs.org/projects/pytorch-lightning/badge/?version=latest)](https://pytorch-lightning.readthedocs.io/en/latest/) [![Slack](https://img.shields.io/badge/slack-chat-green.svg?logo=slack)](https://join.slack.com/t/pytorch-lightning/shared_invite/enQtODU5ODIyNTUzODQwLTFkMDg5Mzc1MDBmNjEzMDgxOTVmYTdhYjA1MDdmODUyOTg2OGQ1ZWZkYTQzODhhNzdhZDA3YmNhMDhlMDY4YzQ) [![license](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/PytorchLightning/pytorch-lightning/blob/master/LICENSE) -[![Next Release](https://img.shields.io/badge/Next%20Release-Mar%2021-.svg)](https://shields.io/) +[![Next Release](https://img.shields.io/badge/Next%20Release-Feb%2021-.svg)](https://shields.io/) - +--- +## Continuous Integration +
+ +| System / PyTorch Version | 1.1 | 1.2 | 1.3 | 1.4 | +| :---: | :---: | :---: | :---: | :---: | +| Linux py3.6 | [![CircleCI](https://circleci.com/gh/PyTorchLightning/pytorch-lightning.svg?style=svg)](https://circleci.com/gh/PyTorchLightning/pytorch-lightning) | [![CircleCI](https://circleci.com/gh/PyTorchLightning/pytorch-lightning.svg?style=svg)](https://circleci.com/gh/PyTorchLightning/pytorch-lightning) | [![CircleCI](https://circleci.com/gh/PyTorchLightning/pytorch-lightning.svg?style=svg)](https://circleci.com/gh/PyTorchLightning/pytorch-lightning) | [![CircleCI](https://circleci.com/gh/PyTorchLightning/pytorch-lightning.svg?style=svg)](https://circleci.com/gh/PyTorchLightning/pytorch-lightning) | +| Linux py3.7 | ![CI testing](https://github.com/PyTorchLightning/pytorch-lightning/workflows/CI%20testing/badge.svg) |
|
| ![CI testing](https://github.com/PyTorchLightning/pytorch-lightning/workflows/CI%20testing/badge.svg) | +| OSX py3.6 | ![CI testing](https://github.com/PyTorchLightning/pytorch-lightning/workflows/CI%20testing/badge.svg) |
|
| ![CI testing](https://github.com/PyTorchLightning/pytorch-lightning/workflows/CI%20testing/badge.svg) | +| OSX py3.7 | ![CI testing](https://github.com/PyTorchLightning/pytorch-lightning/workflows/CI%20testing/badge.svg) |
|
| ![CI testing](https://github.com/PyTorchLightning/pytorch-lightning/workflows/CI%20testing/badge.svg) | +| Windows py3.6 | ![CI testing](https://github.com/PyTorchLightning/pytorch-lightning/workflows/CI%20testing/badge.svg) |
|
| ![CI testing](https://github.com/PyTorchLightning/pytorch-lightning/workflows/CI%20testing/badge.svg) | +| Windows py3.7 | ![CI testing](https://github.com/PyTorchLightning/pytorch-lightning/workflows/CI%20testing/badge.svg) |
|
| ![CI testing](https://github.com/PyTorchLightning/pytorch-lightning/workflows/CI%20testing/badge.svg) | + +
+ Simple installation from PyPI ```bash pip install pytorch-lightning diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 9a9319c7..00000000 --- a/appveyor.yml +++ /dev/null @@ -1,68 +0,0 @@ -# https://www.appveyor.com/docs/appveyor-yml/ -environment: - - # SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the - # /E:ON and /V:ON options are not enabled in the batch script interpreter - # See: http://stackoverflow.com/a/13751649/163740 - CMD_IN_ENV: "cmd /E:ON /V:ON /C obvci_appveyor_python_build_env.cmd" - - matrix: - # Pre-installed Python versions, which Appveyor may upgrade to - # a later point release. - # See: http://www.appveyor.com/docs/installed-software#python - - - # - PYTHON: "C:\\Python35-x64" - # PYTHON_VERSION: "3.5.x" - # PYTHON_ARCH: "64" - # TOXENV: "py35" - - - PYTHON: "C:\\Python36-x64" - PYTHON_VERSION: "3.6.x" - PYTHON_ARCH: "64" - TOXENV: "py36" - PIP_PYVER: "36" - - - PYTHON: "C:\\Python37-x64" - PYTHON_VERSION: "3.7.x" - PYTHON_ARCH: "64" - TOXENV: "py37" - PIP_PYVER: "37" - -build: off - -# https://www.appveyor.com/docs/build-cache/ -cache: - - C:\ProgramData\chocolatey\bin -> appveyor.yml - - C:\ProgramData\chocolatey\lib -> appveyor.yml - - '%LOCALAPPDATA%\pip\Cache -> appveyor.yml' - -# scripts that run after cloning repository -install: - # If there is a newer build queued for the same PR, cancel this one. - # The AppVeyor 'rollout builds' option is supposed to serve the same - # purpose but it is problematic because it tends to cancel builds pushed - # directly to master instead of just PR builds (or the converse). - - SET PATH=%PYTHON%;%PYTHON%\\Scripts;%path% - #- pip install -U --user "pip<19.3" - - python -m pip install -r requirements.txt -f https://download.pytorch.org/whl/torch_stable.html - - python -m pip install -r ./tests/requirements.txt - - python -m pip install pytest-flake8 - -# scripts to run before tests (working directory and environment changes -# are persisted from the previous steps such as "before_build") -before_test: - - python --version - - pip --version - - pip list - - dir - -# to run your custom scripts instead of automatic tests -test_script: - - coverage run --source pytorch_lightning -m py.test pytorch_lightning tests pl_examples -v --doctest-modules --flake8 - #- python setup.py sdist - #- twine check dist/* - -on_success: - - coverage report - # - codecov