mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-24 00:21:08 +01:00
update tests
This commit is contained in:
parent
170d3163f3
commit
42716d3252
@ -38,7 +38,7 @@ script:
|
||||
after_success:
|
||||
- |
|
||||
if [[ "$TRAVIS_OS_NAME" == "linux" && "$TRAVIS_PULL_REQUEST" = "false" && "$TRAVIS_BRANCH" == "master" && "$TRAVIS_RUST_VERSION" == "nightly" ]]; then
|
||||
cargo doc --no-deps &&
|
||||
cargo doc --features alpn --no-deps &&
|
||||
echo "<meta http-equiv=refresh content=0;url=os_balloon/index.html>" > target/doc/index.html &&
|
||||
git clone https://github.com/davisp/ghp-import.git &&
|
||||
./ghp-import/ghp_import.py -n -p -f -m "Documentation upload" -r https://"$GH_TOKEN"@github.com/"$TRAVIS_REPO_SLUG.git" target/doc &&
|
||||
|
@ -3,7 +3,7 @@ extern crate http;
|
||||
extern crate time;
|
||||
|
||||
use std::str;
|
||||
use actix_web::*;
|
||||
use actix_web::dev::*;
|
||||
use http::{header, Method, Version, HeaderMap};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user