Skip to content

Commit dbaefa3

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

File tree

11 files changed

+61
-62
lines changed

11 files changed

+61
-62
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 0 additions & 1 deletion
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

Lines changed: 20 additions & 0 deletions
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

Lines changed: 32 additions & 0 deletions
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_htmlr --cover-package tests tests --with-doctest --doctest-extension=.rst README.rst docs/source pyexcel_htmlr
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

Lines changed: 0 additions & 8 deletions
This file was deleted.

.moban.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ targets:
66
- requirements.txt: requirements.txt
77
- MANIFEST.in: MANIFEST.in.jj2
88
- "tests/requirements.txt": "tests/custom_requirements.txt.jj2"
9-
- .travis.yml: custom_travis.yml.jj2
109
- .gitignore: gitignore.jj2
1110
- "docs/source/conf.py": "docs/source/conf.py.jj2"
1211
- "docs/source/index.rst": "index.rst.jj2"
13-
- 'pyexcel_htmlr/_version.py': '_version.py.jj2'
12+
- 'pyexcel_htmlr/_version.py': '_version.py.jj2'

.travis.yml

Lines changed: 0 additions & 43 deletions
This file was deleted.

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
project = 'pyexcel-htmlr'
2525
copyright = '2015-2020 Onni Software Ltd.'
26-
author = 'chfw'
26+
author = 'C.W.'
2727
# The short X.Y version
2828
version = '0.6.0'
2929
# The full version, including alpha/beta/rc tags

docs/source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
`pyexcel-htmlr` - Let you focus on data, instead of file formats
22
================================================================================
33

4-
:Author: chfw
4+
:Author: C.W.
55
:Source code: http://github.com/pyexcel/pyexcel-htmlr.git
66
:Issues: http://github.com/pyexcel/pyexcel-htmlr/issues
77
:License: New BSD License

lint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
pip install flake8
2-
flake8 --exclude=.moban.d,docs,setup.py --builtins=unicode,xrange,long . && python setup.py checkdocs
2+
flake8 --exclude=.moban.d,docs,setup.py --builtins=unicode,xrange,long . && python setup.py checkdocs

pyexcel_htmlr/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
__version__ = "0.6.0"
2-
__author__ = "chfw"
2+
__author__ = "C.W."

0 commit comments

Comments
 (0)