Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Stephan Kuschel
postpic
Commits
35a51e79
Commit
35a51e79
authored
Jan 15, 2020
by
Stephan Kuschel
Browse files
Python2 end of life
parent
9e16615f
Changes
3
Hide whitespace changes
Inline
Side-by-side
.github/workflows/
pythonpackage
.yml
→
.github/workflows/
run-tests
.yml
View file @
35a51e79
name
:
Python package
name
:
run-tests
on
:
[
push
]
...
...
@@ -8,7 +8,7 @@ jobs:
runs-on
:
ubuntu-latest
strategy
:
matrix
:
python-version
:
[
2.7
,
3.5
,
3.6
,
3.7
]
python-version
:
[
3.5
,
3.6
,
3.7
]
steps
:
-
uses
:
actions/checkout@v1
...
...
@@ -20,7 +20,6 @@ jobs:
run
:
|
python -m pip install --upgrade pip
pip install -r pip-requirements.txt
pip install --user -e .
-
name
:
run tests
run
:
|
./run-tests.py
.travis.yml
View file @
35a51e79
...
...
@@ -16,7 +16,8 @@ env:
jobs
:
fast_finish
:
true
# allow_failures:
allow_failures
:
-
python
:
2.7
# end of life since Jan 1st, 2020.
# have this allowed as there is a bug in matplotlib 2.1.0
# - env: MATPLOTLIB_V=* NUMPY_V=* SCIPY_V=* CYTHON_V=*
include
:
...
...
@@ -74,7 +75,6 @@ before_install:
install
:
-
pip install -r pip-requirements.txt
-
python setup.py install
before_script
:
-
uname -a
...
...
run-tests.py
View file @
35a51e79
...
...
@@ -63,7 +63,8 @@ def run_alltests(python='python', fast=False, skip_setup=False):
cmdrpl
=
dict
(
python
=
python
)
# make sure .pyx sources are up to date and compiled
if
not
skip_setup
:
runcmd
(
'{python} setup.py develop --user'
.
format
(
**
cmdrpl
))
# should be the same as `./setup.py develop --user`
runcmd
(
'{python} -m pip install --user -e .'
.
format
(
**
cmdrpl
))
# find pep8 or pycodestyle (its successor)
try
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment