summaryrefslogtreecommitdiffstats
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorCarl Lerche <me@carllerche.com>2019-06-24 12:34:30 -0700
committerGitHub <noreply@github.com>2019-06-24 12:34:30 -0700
commit06c473e62842d257ed275497ce906710ea3f8e19 (patch)
tree4ca6d337a892aa23266a761b35dc61e988e57954 /.cirrus.yml
parentaa99950b9c983b842bd2107bb771c277d09d495d (diff)
Update Tokio to use `std::future`. (#1120)
A first pass at updating Tokio to use `std::future`. Implementations of `Future` from the futures crate are updated to implement `Future` from std. Implementations of `Stream` are moved to a feature flag. This commits disables a number of crates that have not yet been updated.
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml13
1 files changed, 7 insertions, 6 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 89161f5c..75eccc81 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -12,7 +12,7 @@ task:
setup_script:
- pkg install -y curl
- curl https://sh.rustup.rs -sSf --output rustup.sh
- - sh rustup.sh -y
+ - sh rustup.sh -y --default-toolchain nightly
- . $HOME/.cargo/env
- rustup target add i686-unknown-freebsd
- |
@@ -31,13 +31,14 @@ task:
folder: $HOME/.cargo/registry
test_script:
- . $HOME/.cargo/env
- - cargo test --all
+ - cargo test --all --lib && cargo test --all --tests
- (cd tokio-trace/test-log-support && cargo test)
- (cd tokio-trace/test_static_max_level_features && cargo test)
- cargo doc --all
- i686_test_script:
- - . $HOME/.cargo/env
- - |
- cargo test --all --exclude tokio-tls --exclude tokio-macros --target i686-unknown-freebsd
+ # TODO: Re-enable
+ # i686_test_script:
+ # - . $HOME/.cargo/env
+ # - |
+ # cargo test --all --exclude tokio-tls --exclude tokio-macros --target i686-unknown-freebsd
before_cache_script:
- rm -rf $HOME/.cargo/registry/index