As part of the Python package, I have a myscript.py script in the root of my project and
setup(scripts=['myscript.py'], ...)
in my setup.py .
Is there an entry that I can provide to my .travis.yml that will run myscript.py (e.g. after my tests)?
I tried
language: python python: - "2.7" install: - pip install -r requirements.txt - pip install pytest script: - py.test -v
but get the error "command not found".
I donβt need (or really want) the script to be part of the test suite, I just want to see its output in the Travis log (and, from the root, the build failed if these are errors).
How can I run a script package as part of the Travis CI assembly?
orome source share