Commit Graph

37 Commits

Author SHA1 Message Date
Joseph Birr-Pixton 8e9751f9ef Remove bogo/trytls from travis 2020-04-12 16:26:05 +01:00
Joseph Birr-Pixton d132d48a23 Work around bug in cargo workspaces
To me, it's intuitive that `cargo test --no-default-features`
should run the tests for all subcrates in a workspace, building
each subcrate without its default features.

In fact, this doesn't work and has never worked.  And now it's
explicitly rejected in nightly.

Tracked upstream as rust-lang/cargo#4753
2019-10-27 05:00:18 -07:00
Joseph Birr-Pixton 1d70e45af6 Move to using cargo workspaces
- rustls (the library) now lives in rustls/
- the mio examples/tests continue to live in rustls-mio, but
  are built by (eg) `cargo test` in the root of the repo.
2019-08-24 20:55:20 +01:00
Marc-Antoine Perennou 75cefe29a4 add CI target to test minimal versions
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2019-05-27 18:20:39 +01:00
Joseph Birr-Pixton edf98927dc Split up mio-using examples/tests 2019-03-08 19:04:05 +00:00
Erick Tryzelaar b3a06b9a38 Migrate examples into a subcrate
Fuchsia doesn't support yet mio, and there is unfortunately no
way to run the rustls on Fuchsia as the crate is currently setup.
Unfortunately there is no way to make dev-dependencies optional (see
https://github.com/rust-lang/cargo/issues/1596), so this patch
migrates the examples into a subcrate so we can compile the
rustls tests without mio.
2019-03-08 17:06:05 +00:00
Benjamin Saunders 4d9a10927a Test all features in CI 2019-01-13 16:36:55 +00:00
Joseph Birr-Pixton 3085f61157 Remove travis osx workaround 2018-12-22 11:01:57 +00:00
Joseph Birr-Pixton 757a222099 Fix travis 2018-04-01 17:40:03 +01:00
Joseph Birr-Pixton cd66a6996a Fix for travis having broken ipv6(!?!) 2017-12-30 19:44:37 +00:00
Joseph Birr-Pixton b9c5535ea5 coverage build now needs stable cargo 2017-12-28 13:46:07 +00:00
Joseph Birr-Pixton 0d06518a76 fix syntax 2017-12-28 11:54:26 +00:00
Joseph Birr-Pixton 02ed53ab2f fix for rvm's brokenness (again!) 2017-12-28 11:45:08 +00:00
Joseph Birr-Pixton db74024411 Use edge version of travis 2017-09-10 19:11:24 +01:00
Joseph Birr-Pixton 1ad65d1621 More workarounds for travis CI 2017-09-10 18:19:05 +01:00
Joseph Birr-Pixton 39c28fab5a Skip trytls until travis-ci python bug is resolved 2017-09-10 17:06:44 +01:00
Joseph Birr-Pixton f9886eef26 travis: reduce matrix 2017-07-22 20:49:20 +01:00
Joseph Birr-Pixton fb7020f961 travis: do coverage on nightly rust 2017-07-22 20:19:56 +01:00
Joseph Birr-Pixton f683b3b895 Work around travis python version regression 2017-07-15 21:41:06 +01:00
Joseph Birr-Pixton e7a54f60f2 Use lcov/llvm for coverage 2017-06-17 22:08:22 +01:00
Joseph Birr-Pixton 46d5fc03a5 Add tests for dangerous_configuration
Also:

- use it for bogo_shim, which previously used DANGEROUS_DISABLE_VERIFY.
  bogo_shim now only built with dangerous_configuration.
- require a non-empty certificate list outside the external verifier;
  this is a internal invariant.
- Abolish ASN1Cert in preference to key::Certificate
2017-05-13 18:08:21 +01:00
Joseph Birr-Pixton 8c3b4da361 Run trytls before bogo: bogo disables certverify 2016-10-22 12:56:05 +01:00
Joseph Birr-Pixton 447d0ffccb Fix pip/trytls on travis 2016-10-22 11:55:07 +01:00
Joseph Birr-Pixton a33ffdafda Run TryTLS tests 2016-10-08 19:27:35 +01:00
Joseph Birr-Pixton ed7e778232 Check compiling out log builds 2016-09-25 13:48:04 +01:00
Joseph Birr-Pixton e5d47ce8b1 Fix coverage build on os-x
Squashed commit of the following:

commit 72ab42b890
Author: Joseph Birr-Pixton <jpixton@gmail.com>
Date:   Fri Sep 23 22:07:21 2016 +0100

    fix osx and leaving dangerous verify.rs around

commit f49bc6429f
Author: Joseph Birr-Pixton <jpixton@gmail.com>
Date:   Fri Sep 23 21:18:20 2016 +0100

    fix bogo instantiation

commit 047855a3c7
Author: Joseph Birr-Pixton <jpixton@gmail.com>
Date:   Fri Sep 23 21:09:56 2016 +0100

    don't use realpath, use readlink

commit e4a3e9bc50
Author: Joseph Birr-Pixton <jpixton@gmail.com>
Date:   Fri Sep 23 20:56:23 2016 +0100

    need coreutils
2016-09-23 22:28:28 +01:00
Joseph Birr-Pixton da7e810883 Coverage work: run tools perhaps through a wrapper 2016-09-23 20:38:08 +01:00
Joseph Birr-Pixton 02ff8b9d0a only do stable rust builds 2016-09-03 19:24:07 +01:00
Joseph Birr-Pixton 18ff4dcbbf get backtraces for failures 2016-09-03 18:37:39 +01:00
Joseph Birr-Pixton 41cbcb191e install sensible openssl on osx 2016-09-03 18:37:34 +01:00
Joseph Birr-Pixton 0564a8264b try using osx on travis 2016-09-03 16:27:22 +01:00
Joseph Birr-Pixton a9c5a79f49 fix travis.yml for tests 2016-08-28 22:39:21 +01:00
Joseph Birr-Pixton d16cc08414 more basic benchmarking 2016-08-28 22:28:02 +01:00
Joseph Birr-Pixton 5df9126c7d try running bogo on travis 2016-08-23 22:15:21 +01:00
Joseph Birr-Pixton b1d21b5287 travis: use trusty 2016-07-05 21:02:14 +01:00
Joseph Birr-Pixton b6f5af0a3a travis: see if we can get a recent openssl 2016-06-08 01:32:57 +01:00
Joseph Birr-Pixton 14d27b7b2c Add travis.yml 2016-05-30 20:14:38 +01:00