MotaDan / AmazonEmailer

Scrapes any range of items from an amazon category and sends out a schedules email with the item information.
0 stars 0 forks source link

Fix travis ci #23

Open MotaDan opened 7 years ago

MotaDan commented 7 years ago

Travis ci currently fails when trying to run becomes of the keyring package. On linux it needs secret storage installed independent of python. Keyring explanation of problem Secret storage github page Travis directions for installing dependencies

MotaDan commented 7 years ago

dbus-python is failing to pip install. Here is the error it provides Command "/home/travis/virtualenv/python3.5.2/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-6bke5oqs/dbus-python/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-cku67ggj-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/travis/virtualenv/python3.5.2/include/site/python3.5/dbus-python" failed with error code 1 in /tmp/pip-build-6bke5oqs/dbus-python/ I'm not sure what else I can install or do to get it running. An alternative is to not bother with the email tests and not install yagmail or its requirements on travis. The pytest command in the travis yaml would have to be changed to ignore the email test.

MotaDan commented 7 years ago

Here's everything I still have open related to it. How to make Python see module installed via apt? Travis CI mitya57 / secretstorage –system-site-packages travis ci Travis CI installing dependencies pydbus pygobject GLib project travis ci use apt-get python