From 0a4a6478297aa3b28fcbb64fca2ffe43cbedea4c Mon Sep 17 00:00:00 2001 From: Sergio Benitez Date: Tue, 25 Oct 2016 12:25:18 +0200 Subject: [PATCH] Diesel is broken. Skip it during testing. --- contrib/src/json/mod.rs | 2 +- scripts/test.sh | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/contrib/src/json/mod.rs b/contrib/src/json/mod.rs index 24cb8ce5..67a49a3c 100644 --- a/contrib/src/json/mod.rs +++ b/contrib/src/json/mod.rs @@ -4,7 +4,7 @@ extern crate serde_json; use std::ops::{Deref, DerefMut}; use std::io::Read; -use rocket::outcome::Outcome::*; +use rocket::Outcome::*; use rocket::request::{Request, Data, FromData, DataOutcome}; use rocket::response::{self, Responder, data}; use rocket::http::StatusCode; diff --git a/scripts/test.sh b/scripts/test.sh index 0f4863d6..244cec4d 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -55,6 +55,11 @@ build_and_test "${CONTRIB_DIR}" check_versions_match "${LIB_DIR}" "${CODEGEN_DIR}" "${CONTRIB_DIR}" for file in ${EXAMPLES_DIR}/*; do + if [ "$(basename $file)" = "todo" ]; then + echo ":: Skipping todo example due to broken Diesel..." + continue + fi + if [ -d "${file}" ]; then bootstrap_script="${file}/bootstrap.sh" if [ -x "${bootstrap_script}" ]; then