mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-09 11:32:07 +08:00
drop CircleCI
This commit is contained in:
@@ -1,60 +0,0 @@
|
||||
version: 2.0
|
||||
|
||||
references:
|
||||
|
||||
install_pips: &install_pips
|
||||
run:
|
||||
name: Install PyPI dependences
|
||||
command: |
|
||||
pip install -r requirements.txt --user
|
||||
sudo pip install -r ./tests/requirements.txt
|
||||
python --version ; pwd ; ls -l
|
||||
pip --version ; pip list
|
||||
|
||||
test_coverage: &test_coverage
|
||||
run:
|
||||
name: Testing and Formating
|
||||
command: |
|
||||
check-manifest --ignore tox.ini
|
||||
python setup.py check -m -s
|
||||
coverage run --source pytorch_lightning -m py.test pytorch_lightning tests examples -v --doctest-modules
|
||||
flake8 . --max-line-length=120
|
||||
codecov
|
||||
|
||||
jobs:
|
||||
|
||||
Py3.6:
|
||||
docker:
|
||||
- image: circleci/python:3.6
|
||||
steps: &steps
|
||||
- checkout
|
||||
# INSTALLATION
|
||||
- *install_pips
|
||||
# TESTING
|
||||
- *test_coverage
|
||||
# DOCUMENTATION
|
||||
|
||||
# PASSING
|
||||
- run:
|
||||
name: Finalise
|
||||
command: |
|
||||
python setup.py install --user
|
||||
coverage report && coverage xml -o test-reports/coverage.xml
|
||||
# RESULTS
|
||||
- store_test_results:
|
||||
path: test-reports
|
||||
- store_artifacts:
|
||||
path: test-reports
|
||||
|
||||
Py3.7:
|
||||
docker:
|
||||
- image: circleci/python:3.7
|
||||
steps: *steps
|
||||
|
||||
|
||||
workflows:
|
||||
version: 2
|
||||
build:
|
||||
jobs:
|
||||
- Py3.6
|
||||
- Py3.7
|
||||
@@ -27,12 +27,10 @@ exclude docs
|
||||
include requirements.txt
|
||||
|
||||
# Exclude build configs
|
||||
recursive-exclude .circleci *
|
||||
exclude *.yml
|
||||
|
||||
prune .git
|
||||
prune .github
|
||||
prune .circleci
|
||||
prune notebook*
|
||||
prune temp*
|
||||
prune test*
|
||||
@@ -8,7 +8,6 @@
|
||||
[](https://badge.fury.io/py/pytorch-lightning)
|
||||
[](https://pepy.tech/project/pytorch-lightning)
|
||||
[](https://travis-ci.org/williamFalcon/pytorch-lightning)
|
||||
[](https://circleci.com/gh/Borda/pytorch-lightning)
|
||||
[](https://ci.appveyor.com/project/Borda/pytorch-lightning)
|
||||
[](https://codecov.io/gh/Borda/pytorch-lightning)
|
||||
[](https://www.codefactor.io/repository/github/borda/pytorch-lightning)
|
||||
|
||||
Reference in New Issue
Block a user