dativebase / old-pyramid

Online Linguistic Database (OLD)
http://www.onlinelinguisticdatabase.org/
8 stars 2 forks source link

Problem: Travis is not recognizing py35/36 tests as passing #7

Closed jrwdunham closed 6 years ago

jrwdunham commented 6 years ago

The Travis config file uses Tox to build virtual envs for python 3.4, 3.5 and 3.6 and runs the pytest tests in each environment against a MySQL database. The tests pass in all 3 python versions, yet Tox exits with 1 in Python 3.5 and 3.6 builds. This may be related to one or both of the following travis github issues:

See for example https://travis-ci.org/dativebase/old-pyramid/jobs/330570058 where the last lines of output are:

========================= 266 passed in 394.23 seconds =========================
ERROR: InvocationError: '/home/travis/build/dativebase/old-pyramid/.tox/py35/bin/pytest old/tests/ -v'
___________________________________ summary ____________________________________
ERROR:   py35: commands failed
The command "tox" exited with 1.
store build cache

Done. Your build exited with 1.

The workaround being used for now is to allow the python 3.5 and 3.6 builds to fail.

jrwdunham commented 6 years ago

See https://github.com/travis-ci/travis-ci/issues/9096.

jrwdunham commented 6 years ago

This will be fixed when https://github.com/dativebase/old-pyramid/pull/5/commits is merged.. See commit ade50ecad246db034d9229282bcdbba51d517eb9 and https://travis-ci.org/dativebase/old-pyramid/builds/333584116?utm_source=github_status&utm_medium=notification

jrwdunham commented 6 years ago

Fixed by merge of PR 5.