Skip to content

Commit 9b94b00

Browse files
committed
appveyor select Linux Python version, travis install test
1 parent a931739 commit 9b94b00

File tree

3 files changed

+15
-4
lines changed

3 files changed

+15
-4
lines changed

.appveyor.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ image:
22
- Visual Studio 2017
33
- Ubuntu1804
44

5-
stack: python 3
5+
stack: python 3.7
66

77
environment:
88
PY_DIR: C:\Python37-x64
@@ -15,7 +15,8 @@ init:
1515
- cmd: set PATH=%PY_DIR%;%PY_DIR%\Scripts;%PATH%
1616

1717
install:
18-
- pip install -e .[tests,full]
18+
- python --version
19+
- python -m pip install -e .[tests,full]
1920

20-
test_script: pytest -rsv
21+
test_script: python -m pytest -rsv
2122

.travis.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,15 @@ python:
1313

1414
matrix:
1515
include:
16+
- os: linux
17+
name: Install Test
18+
python: 3.7
19+
install:
20+
- python setup.py install
21+
- pip install $(basename $TRAVIS_REPO_SLUG)[tests,full]
22+
script:
23+
- cd $HOME
24+
- python -m pytest $TRAVIS_BUILD_DIR/tests
1625
- os: linux
1726
python: 3.8-dev
1827
install: pip install -e .[tests]
@@ -26,6 +35,7 @@ matrix:
2635
install: pip install -e .[tests]
2736
script: pytest tests/test_py27.py
2837
- os: linux
38+
name: PEP8 MyPy Coverage
2939
python: 3.7
3040
install: pip install -e .[tests,full,cov]
3141
script:

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = pymap3d
3-
version = 1.8.0
3+
version = 1.8.1
44
author = Michael Hirsch, Ph.D.
55
author_email = [email protected]
66
description = pure Python (no prereqs) coordinate conversions, following convention of several popular Matlab routines.

0 commit comments

Comments
 (0)