(@dignifiedquire and @hpk42)
- introduce rust-caching to python test runs
- skip release and ffi runs, they are check using python bindings
- shuffle files such that ci_scripts/ contains all the ci scripts
- partly parallelize python tox runs
- better README reflecting how to use things, don't advertise
run-integration-tests to only have one documented way
and use less tools for rust-devs that just want to run
python tests
- fix test skipping and get circle-ci to play along
- update docker related docs as well
This links the python bindings statically to libdeltachat.a if the
DCC_RS_DEV environment variable is set to the project's root. This is
a little simpler then requiring the manual CFLAGS and LD_LIBRARY_PATH
tweaking.
It also adds a script to easily invoke the integration tests locally
without forgetting steps.
* Add utility to convert OsStr to CString
This is approach seems acceptable in the context of deltachat, it
should work correctly on unix and on Windows requires paths to be
valid utf-8.
* Use failure crate for error types
* Add OsStrExt impl for Path, fix windows and update docs
- Adds an OsStrExt impl for Path directly, a little more convenience.
- Fix the windows code to actually use the right function name. Test
the impl function on unix too since that was the point of having it
implemented in a separate function to begin with.
- Improve the docs, do hyperlinks a bit better.
* Another attempt at learing to type
Having your compiler in the cloud is just painful.
* Do not treat this as a fatal error
When PRs are made from forks the passwords are unavailable. We don't
want CI to fail because of this.
* Implement using the AsRef<OsStr> trait
This means any type with implements this trait will get this
implementation, thus covering both OsStr and Path instead of having
duplicate implementations for those like before.
* fix format
* import python, try to adapt for rust
* add missing wrapper functions
* - try to write up how to build python bindings
- strike some unused functions from deltachat.h
* adjustments to make tox work
* try to run circle-ci with python build
* don't do docs
* running cargo test as well
* don't run cargo test anymore, that's done in other ci jobs
* also build docs
* don't run doxygen anymore
* subst C with Rust
* a try to get better wheels
Closes#41