mirror of
https://github.com/deltachat/deltachat-core.git
synced 2025-10-04 10:19:16 +02:00
another try at travis run
This commit is contained in:
parent
167bc55296
commit
efe8aca51c
3 changed files with 13 additions and 6 deletions
11
.travis.yml
11
.travis.yml
|
@ -28,7 +28,14 @@ install:
|
|||
|
||||
script:
|
||||
- mkdir -p builddir && cd builddir && meson && ninja -v && sudo ninja install
|
||||
- export LD_LIBRARY_PATH=/usr/local/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH
|
||||
- sudo ldconfig -v
|
||||
- cd ../python
|
||||
# - sudo pip install .
|
||||
# - sudo pip install pytest
|
||||
- virtualenv venv
|
||||
- source venv/bin/activate
|
||||
- hash -r
|
||||
- pip install -e .
|
||||
- pip install pytest
|
||||
# - python -c 'import queue; print (queue)'
|
||||
# import error with "queue", how can this happen?
|
||||
# - pytest tests
|
||||
|
|
|
@ -7,7 +7,7 @@ setuptools.setup(
|
|||
description='Python bindings for deltachat-core using CFFI',
|
||||
author='Delta Chat contributors',
|
||||
setup_requires=['cffi>=1.0.0'],
|
||||
install_requires=['cffi>=1.0.0'],
|
||||
install_requires=['cffi>=1.0.0', 'requests'],
|
||||
packages=setuptools.find_packages('src'),
|
||||
package_dir={'': 'src'},
|
||||
cffi_modules=['src/deltachat/_build.py:ffibuilder'],
|
||||
|
|
|
@ -3,7 +3,7 @@ import deltachat
|
|||
import re
|
||||
from deltachat import capi
|
||||
from deltachat.capi import ffi
|
||||
import queue
|
||||
from queue import Queue
|
||||
|
||||
|
||||
def test_empty_context():
|
||||
|
@ -17,7 +17,7 @@ def test_event_defines():
|
|||
|
||||
class TestLive:
|
||||
def test_basic_configure_login_ok(self, request, tmp_db_path, userpassword):
|
||||
q = queue.Queue()
|
||||
q = Queue()
|
||||
dc = deltachat.Account(tmp_db_path, logcallback=q.put)
|
||||
dc.set_config(addr=userpassword[0], mail_pw=userpassword[1])
|
||||
dc.start()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue