Commit Graph

99 Commits

Author SHA1 Message Date
Vlad Shcherbina 5198fccaeb Enable backtrace
To simplify troubleshooting on the build server.
2018-03-14 01:05:47 +03:00
Nikolay Kim d50d1fb7ea enable python3.7 builds 2018-02-21 10:06:48 -08:00
Vlad Shcherbina 4eb22a3c20 Travis: move doc build step to `script` #115
To ensure that doc build failures aren't silently ignored.
2018-02-14 20:45:08 +03:00
Vlad Shcherbina c4939ab9d7 Fix documentation build (hopefully) #115 2018-02-14 19:23:09 +03:00
Nikolay Kim 017c404d69 fix travis build 2017-12-18 19:47:23 -08:00
Nikolay Kim 653f081d65 enable coverage for master only 2017-11-27 11:19:22 -08:00
Nikolay Kim 6a31a4cbb7 kcov only for py3.6 2017-11-27 11:07:50 -08:00
Nikolay Kim a57ebc7928 fix travis 2017-11-27 11:06:53 -08:00
Nikolay Kim 258e84c4e2 enable coverage 2017-11-27 11:05:51 -08:00
Nikolay Kim 99d5994d95 enable coverage 2017-11-27 11:04:49 -08:00
Nikolay Kim 40d34ca59d remove tarpaulin 2017-07-21 14:35:24 -07:00
Nikolay Kim fcb20c6f25 try tarpaulin 2017-07-21 14:05:09 -07:00
messense 7466097780 User guide documentaion (#37)
User guide documentaion
2017-06-18 10:02:02 +08:00
Nikolay Kim 61138f9889 fix env check 2017-06-15 15:33:06 -07:00
Nikolay Kim b0f25f8e42 check python version during travis build 2017-06-15 15:19:59 -07:00
Nikolay Kim d15e85800f push all doc files 2017-06-15 11:20:40 -07:00
Nikolay Kim 0679fec859 update docs 2017-06-15 11:13:58 -07:00
Nikolay Kim 51115e70f2 update doc link 2017-06-15 10:48:10 -07:00
Nikolay Kim 77c09dc094 fix doc command 2017-06-15 09:14:46 -07:00
Nikolay Kim 3bed79fe0b add clippy and doc to travis 2017-06-15 09:11:19 -07:00
Nikolay Kim 26fccf6022 added proper PyString for py2 handling 2017-06-11 22:23:49 -07:00
Nikolay Kim fdd9ac7ae9 various improvements 2017-06-11 18:30:56 -07:00
Nikolay Kim c7c7b8beca update travis config 2017-05-20 22:24:30 -07:00
Nikolay Kim eb64aa11ac generate method defs from protocols 2017-05-19 11:48:05 -07:00
Nikolay Kim 24f5c3f5e4 travis config 2017-05-14 12:55:52 -07:00
Nikolay Kim 0e777f1f4f disable nightly 2017-05-12 23:30:30 -07:00
Nikolay Kim b2d49c3648 drop py3.4 2017-05-12 23:29:59 -07:00
Nikolay Kim 03a3817878 update readme and travis 2017-05-12 23:01:54 -07:00
Nikolay Kim e40ef289e0 use rust 1.17 for travis 2017-05-12 22:46:49 -07:00
Nikolay Kim a95de027c1 update tests 2017-05-12 22:43:17 -07:00
Daniel Grunwald cb4ee822e0 Add Python 3.6 to test matrix. 2017-01-18 21:28:04 +01:00
Daniel Grunwald f6ed2bbae9 Fix #10: Windows support.
We keep the #[link] attributes in #[cfg_attr(windows)] so that we don't require a nightly Rust build on non-Windows platforms.
This can be simplified once RFC 1717 is available in a stable rust version.

This commit also increases the minimum Rust version to 1.13.
2016-12-17 15:46:52 +01:00
Daniel Grunwald 506443210a Fix stable rust version in travis config 2016-03-06 01:11:35 +01:00
Daniel Grunwald d705620502 Add support for Rust stable.
All functions that depend on PyObject having the same memory layout
as *mut ffi::PyObject should now be hidden behind #[cfg(feature="nightly")].
2016-03-06 01:08:40 +01:00
Daniel Grunwald 54aa17abf9 Enable testing with Python 3.5 2016-01-22 20:42:34 +01:00
Daniel Grunwald d33a4b68fc Add test script that all symbols imported by python-sys are exported from the python .so 2015-09-20 22:21:18 +02:00
Daniel Grunwald 43552a075d Enable python 3 CI 2015-06-28 21:46:24 +02:00
Daniel Grunwald 7931e8f1f6 Disable python3 build on travis -- not sure if there's any python3 installed on the build machine 2015-05-24 21:14:53 +02:00
Daniel Grunwald 8c8779e3fb py_module_initializer! for python 3 2015-05-24 20:06:08 +02:00
James Salter b1eca56ec3 Python 3 build support
* Add python3-sys to rust-cpython as an optional feature, and
  make python27-sys also optional, but still the default
* Parametrise python27-sys/build.rs so that it is python
  version independent, and clone it into python3-sys/build.rs.
  Hopefully this can continue to be maintained as an identical
  file.
* python27-sys and python3-sys gain features for explicitly
  selecting a python version to link to. for python27-sys,
  there's currently only python27; for python3-sys there's
  python 3.4 and 3.5.
* explicitly tell travis to use nightlies (seems to have
  started trying to use 1.0.0)
2015-05-23 15:23:08 +01:00
Daniel Grunwald db8edd7f4e Fix build 2015-05-17 21:35:04 +02:00
James Salter b3e20e900b fix issues in bb13ec, support utf16, python fom PATH
* fix ucs4 build broken by bb13ec
* add utf16 decoding to unicode.from_py_object for
  narrow unicode builds
* change unicode narrow/wide cfg flag to be
  Py_UNICODE_SIZE_4 not Py_UNICODE_WIDE, which doesn't
  appear in sysconfig
* support framework builds on os x
* python27-sys exports compilation flags as cargo vars,
  and rust-python resurrects them as cfg flags
* travis runs against local python27-sys
* rust-cpython depends on git python27-sys, because
  the one on cargo is now incompatible with it (since bb13ec)
2015-05-17 13:20:58 +01:00
Daniel Grunwald 84386d826d Another attempt to fix docs 2015-04-19 06:38:56 +02:00
Daniel Grunwald 73c900edb1 Fix docs 2015-04-19 06:36:02 +02:00
Daniel Grunwald 818acb4d77 Build documentation 2015-04-19 06:32:59 +02:00
Daniel Grunwald f527c237f2 rust-ci doc upload 2015-04-19 05:21:28 +02:00
Daniel Grunwald 77b178af40 Tell travis we're back on the nighlies 2015-01-12 03:23:50 +01:00
Daniel Grunwald 6d9fd93df2 Go back to 1.0-alpha due to rust issue 21510 2015-01-11 05:41:55 +01:00
Daniel Grunwald d8a1fcd869 update for rust nightly 2015-01-11 04:21:05 +01:00