Skip to content

Commit 04eb0f5

Browse files
committed
Use tested config files
1 parent d21da53 commit 04eb0f5

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

.stickler.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,11 @@ linters:
22
flake8:
33
python: 3
44
max-line-length: 79
5+
select: C,E,F,W,B,B950
6+
ignore: E203, E501, W503
7+
black:
8+
config: ./pyproject.toml
9+
fixer: true
10+
11+
fixers:
12+
enable: true

.travis.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,25 @@ language: python
22

33
matrix:
44
include:
5-
- python: 3.5
65
- python: 3.6
6+
dist: xenial
7+
sudo: true
78
- python: 3.7
89
dist: xenial
910
sudo: true
1011

1112
# command to install dependencies
12-
#before_install:
13-
# - sudo apt-get install coinor-cbc
13+
before_install:
14+
- sudo apt-get install libhdf5-serial-dev proj-bin libproj-dev libgeos-dev libspatialindex-dev
1415

1516
install:
17+
- pip install cython
1618
- pip install .
17-
- pip install coveralls sphinx sphinx_rtd_theme nbformat pytest-cov jupyter
19+
- pip install coveralls
1820

1921
# command to run tests
2022
script:
21-
- coverage run --rcfile=.coveragerc --source windpowerlib -m py.test
22-
- coverage report
23+
- nosetests --with-doctest --with-coverage -c nose.cfg
2324

2425
after_success:
2526
- coveralls

0 commit comments

Comments
 (0)