mirror of https://github.com/rwf2/Rocket.git
Diesel is broken. Skip it during testing.
This commit is contained in:
parent
5447f81f77
commit
0a4a647829
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue