Diesel is broken. Skip it during testing.

This commit is contained in:
Sergio Benitez 2016-10-25 12:25:18 +02:00
parent 5447f81f77
commit 0a4a647829
2 changed files with 6 additions and 1 deletions

View File

@ -4,7 +4,7 @@ extern crate serde_json;
use std::ops::{Deref, DerefMut}; use std::ops::{Deref, DerefMut};
use std::io::Read; use std::io::Read;
use rocket::outcome::Outcome::*; use rocket::Outcome::*;
use rocket::request::{Request, Data, FromData, DataOutcome}; use rocket::request::{Request, Data, FromData, DataOutcome};
use rocket::response::{self, Responder, data}; use rocket::response::{self, Responder, data};
use rocket::http::StatusCode; use rocket::http::StatusCode;

View File

@ -55,6 +55,11 @@ build_and_test "${CONTRIB_DIR}"
check_versions_match "${LIB_DIR}" "${CODEGEN_DIR}" "${CONTRIB_DIR}" check_versions_match "${LIB_DIR}" "${CODEGEN_DIR}" "${CONTRIB_DIR}"
for file in ${EXAMPLES_DIR}/*; do 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 if [ -d "${file}" ]; then
bootstrap_script="${file}/bootstrap.sh" bootstrap_script="${file}/bootstrap.sh"
if [ -x "${bootstrap_script}" ]; then if [ -x "${bootstrap_script}" ]; then