Skip to content

Conversation

@mathematicalmichael
Copy link
Owner

@mathematicalmichael mathematicalmichael commented Nov 19, 2019

trying a few things, including switching to nosetests syntax, addressing paulcon#53 and to be added onto paulcon#52

EDIT: hopefully able to switch from nosetests to pytest without a hitch.

trying a few things, including switching to `nosetests` syntax
switch to pytest
remove pytest install in hopes that pip catches it.
@mathematicalmichael mathematicalmichael changed the title Update .travis.yml Update CI pipeline Nov 19, 2019
scipy doesn't work for 2.0
@mathematicalmichael
Copy link
Owner Author

mathematicalmichael commented Nov 19, 2019

test.py can be removed in favor of setting matplotlib settings with command-line in travis:
matplotlib.use('agg') can be done differently, though I understand why this route was chosen.

export MPLBACKEND="Agg"

pytest and agg backend
@mathematicalmichael
Copy link
Owner Author

reminder to be doing a squash merge to keep this clean. lot of trial/error that there's no use keeping a history of.

@mathematicalmichael
Copy link
Owner Author

okay let's try nosetests first then deal with pytest later...
looks like these tests weren't written to reflect module names, which is pytests's assumption

back to nosetests
back to nosetests
looks like not having conda install pip was an issue (the pip that was being called was the "wrong one")
Let's try to do this _without_ conda. Travis has its own system python versions cached anyway, so it should expedite tests a bit too.
@mathematicalmichael mathematicalmichael merged commit c7d731c into master Jul 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants