Skip to content

Commit 9da1336

Browse files
committed
Upgrade to Postgres 9.3 on Travis
1 parent 746850d commit 9da1336

2 files changed

Lines changed: 2 additions & 9 deletions

File tree

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
addons:
2+
postgresql: 9.3
13
before_install:
24
- yes | sudo add-apt-repository ppa:hansjorg/rust
35
- sudo apt-get update

test.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,6 @@ fn test_bytea_params() {
319319
}
320320
321321
#[test]
322-
#[ignore(cfg(travis))]
323322
fn test_json_params() {
324323
test_type("JSON", [(Some(json::from_str("[10, 11, 12]").unwrap()),
325324
"'[10, 11, 12]'"),
@@ -386,13 +385,11 @@ macro_rules! test_range(
386385
)
387386
388387
#[test]
389-
#[ignore(cfg(travis))]
390388
fn test_int4range_params() {
391389
test_range!("INT4RANGE", i32, 100i32, "100", 200i32, "200")
392390
}
393391
394392
#[test]
395-
#[ignore(cfg(travis))]
396393
fn test_int8range_params() {
397394
test_range!("INT8RANGE", i64, 100i64, "100", 200i64, "200")
398395
}
@@ -407,13 +404,11 @@ fn test_timespec_range_params(sql_type: &str) {
407404
}
408405
409406
#[test]
410-
#[ignore(cfg(travis))]
411407
fn test_tsrange_params() {
412408
test_timespec_range_params("TSRANGE");
413409
}
414410
415411
#[test]
416-
#[ignore(cfg(travis))]
417412
fn test_tstzrange_params() {
418413
test_timespec_range_params("TSTZRANGE");
419414
}
@@ -514,7 +509,6 @@ fn test_uuidarray_params() {
514509
}
515510
516511
#[test]
517-
#[cfg(not(travis))]
518512
fn test_int4rangearray_params() {
519513
test_array_params!("INT4RANGE",
520514
Range::new(None, None), "\"(,)\"",
@@ -523,7 +517,6 @@ fn test_int4rangearray_params() {
523517
}
524518

525519
#[test]
526-
#[cfg(not(travis))]
527520
fn test_tsrangearray_params() {
528521
fn make_check<'a>(time: &'a str) -> (Timespec, &'a str) {
529522
(time::strptime(time, "%Y-%m-%d").unwrap().to_timespec(), time)
@@ -541,7 +534,6 @@ fn test_tsrangearray_params() {
541534
}
542535

543536
#[test]
544-
#[cfg(not(travis))]
545537
fn test_int8rangearray_params() {
546538
test_array_params!("INT8RANGE",
547539
Range::new(None, None), "\"(,)\"",
@@ -798,7 +790,6 @@ fn test_dns_failure() {
798790
}
799791

800792
#[test]
801-
#[cfg(not(travis))]
802793
fn test_jsonarray_params() {
803794
test_array_params!("JSON",
804795
json::from_str("[10, 11, 12]").unwrap(),

0 commit comments

Comments
 (0)