Skip to content

Commit c4f8805

Browse files
committed
🔥 remove travis build from ci. credit goes to #234
1 parent d2faf90 commit c4f8805

File tree

7 files changed

+55
-55
lines changed

7 files changed

+55
-55
lines changed

.github/PULL_REQUEST_TEMPLATE.md

-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@ With your PR, here is a check list:
44
- [ ] Has all code lines tested?
55
- [ ] Has `make format` been run?
66
- [ ] Please update CHANGELOG.yml(not CHANGELOG.rst)
7-
- [ ] Passes all Travis CI builds
87
- [ ] Has fair amount of documentation if your change is complex
98
- [ ] Agree on NEW BSD License for your contribution

.github/workflows/lint.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: lint
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
lint:
7+
runs-on: ubuntu-latest
8+
name: lint code
9+
steps:
10+
- uses: actions/checkout@v2
11+
- name: Set up Python
12+
uses: actions/setup-python@v1
13+
with:
14+
python-version: 3.8
15+
- name: lint
16+
run: |
17+
pip install flake8
18+
pip install -r tests/requirements.txt
19+
flake8 --exclude=.moban.d,docs,setup.py --builtins=unicode,xrange,long .
20+
python setup.py checkdocs

.github/workflows/tests.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: run_tests
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
strategy:
8+
fail-fast: false
9+
matrix:
10+
python-version: [3.6, 3.7, 3.8, 3.9]
11+
os: [macOs-latest, ubuntu-latest, windows-latest]
12+
13+
runs-on: ${{ matrix.os }}
14+
name: run tests
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: Set up Python
18+
uses: actions/setup-python@v1
19+
with:
20+
python-version: ${{ matrix.python-version }}
21+
- name: install
22+
run: |
23+
pip install -r requirements.txt
24+
pip install -r tests/requirements.txt
25+
- name: test
26+
run: |
27+
pip freeze
28+
nosetests --verbosity=3 --with-coverage --cover-package pyexcel_ods3 --cover-package tests tests --with-doctest --doctest-extension=.rst README.rst docs/source pyexcel_ods3
29+
- name: Upload coverage
30+
uses: codecov/codecov-action@v1
31+
with:
32+
name: ${{ matrix.os }} Python ${{ matrix.python-version }}

.moban.d/custom_travis.yml.jj2

-7
This file was deleted.

.moban.yml

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ targets:
55
- README.rst: custom_README.rst.jj2
66
- setup.py: custom_setup.py.jj2
77
- "docs/source/conf.py": "docs/source/conf.py.jj2"
8-
- .travis.yml: custom_travis.yml.jj2
98
- MANIFEST.in: MANIFEST.in.jj2
109
- "tests/requirements.txt": "tests/requirements.txt"
1110
- .gitignore: commons-gitignore.jj2

.travis.yml

-43
This file was deleted.

README.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ pyexcel-ods3 - Let you focus on data, instead of ods format
88
.. image:: https://raw.githubusercontent.com/pyexcel/pyexcel-mobans/master/images/awesome-badge.svg
99
:target: https://awesome-python.com/#specific-formats-processing
1010

11-
.. image:: https://travis-ci.org/pyexcel/pyexcel-ods3.svg?branch=master
12-
:target: http://travis-ci.org/pyexcel/pyexcel-ods3
11+
.. image:: https://github.com/pyexcel/pyexcel-ods3/workflows/run_tests/badge.svg
12+
:target: http://github.com/pyexcel/pyexcel-ods3/actions
1313

1414
.. image:: https://codecov.io/gh/pyexcel/pyexcel-ods3/branch/master/graph/badge.svg
1515
:target: https://codecov.io/gh/pyexcel/pyexcel-ods3
@@ -21,7 +21,7 @@ pyexcel-ods3 - Let you focus on data, instead of ods format
2121
:target: https://anaconda.org/conda-forge/pyexcel-ods3
2222

2323
.. image:: https://pepy.tech/badge/pyexcel-ods3/month
24-
:target: https://pepy.tech/project/pyexcel-ods3/month
24+
:target: https://pepy.tech/project/pyexcel-ods3
2525

2626
.. image:: https://anaconda.org/conda-forge/pyexcel-ods3/badges/downloads.svg
2727
:target: https://anaconda.org/conda-forge/pyexcel-ods3

0 commit comments

Comments
 (0)