mirror of
https://github.com/deltachat/deltachat-core.git
synced 2025-10-04 18:29:19 +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
13
.travis.yml
13
.travis.yml
|
@ -28,7 +28,14 @@ install:
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- mkdir -p builddir && cd builddir && meson && ninja -v && sudo ninja install
|
- 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
|
- cd ../python
|
||||||
# - sudo pip install .
|
- virtualenv venv
|
||||||
# - sudo pip install pytest
|
- source venv/bin/activate
|
||||||
# - pytest tests
|
- 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',
|
description='Python bindings for deltachat-core using CFFI',
|
||||||
author='Delta Chat contributors',
|
author='Delta Chat contributors',
|
||||||
setup_requires=['cffi>=1.0.0'],
|
setup_requires=['cffi>=1.0.0'],
|
||||||
install_requires=['cffi>=1.0.0'],
|
install_requires=['cffi>=1.0.0', 'requests'],
|
||||||
packages=setuptools.find_packages('src'),
|
packages=setuptools.find_packages('src'),
|
||||||
package_dir={'': 'src'},
|
package_dir={'': 'src'},
|
||||||
cffi_modules=['src/deltachat/_build.py:ffibuilder'],
|
cffi_modules=['src/deltachat/_build.py:ffibuilder'],
|
||||||
|
|
|
@ -3,7 +3,7 @@ import deltachat
|
||||||
import re
|
import re
|
||||||
from deltachat import capi
|
from deltachat import capi
|
||||||
from deltachat.capi import ffi
|
from deltachat.capi import ffi
|
||||||
import queue
|
from queue import Queue
|
||||||
|
|
||||||
|
|
||||||
def test_empty_context():
|
def test_empty_context():
|
||||||
|
@ -17,7 +17,7 @@ def test_event_defines():
|
||||||
|
|
||||||
class TestLive:
|
class TestLive:
|
||||||
def test_basic_configure_login_ok(self, request, tmp_db_path, userpassword):
|
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 = deltachat.Account(tmp_db_path, logcallback=q.put)
|
||||||
dc.set_config(addr=userpassword[0], mail_pw=userpassword[1])
|
dc.set_config(addr=userpassword[0], mail_pw=userpassword[1])
|
||||||
dc.start()
|
dc.start()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue