Skip to content

Commit

Permalink
Merge pull request #132 from epage/fix
Browse files Browse the repository at this point in the history
fix(CI): Get it passing again
  • Loading branch information
epage authored Sep 23, 2017
2 parents 1787b2b + ce9147e commit 5ca6aa3
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 15 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ install:
- which cargo-coveralls || cargo install cargo-travis
- which cargo-when || cargo install cargo-when
- travis_wait cargo when --channel stable install rustfmt --force --vers 0.8.3
- travis_wait cargo when --channel nightly install clippy --force || true
- export PATH=$HOME/.cargo/bin:$PATH

script:
Expand All @@ -18,9 +17,8 @@ script:
- cargo check --verbose
- cargo check --verbose --features "cli"
- cargo check --verbose --features "cli serde_yaml serde_json"
- cargo clean
- cargo test --verbose --features "cli serde_yaml serde_json"
- ! which cargo-clippy || cargo when --channel nightly clippy -- --version
- ! which cargo-clippy || cargo when --channel nightly clippy --features "cli serde_yaml serde_json"
- cargo when --channel nightly bench --features "cli serde_yaml serde_json"
- cargo when --channel stable doc --no-deps --all-features
- cargo when --channel stable fmt -- --version
Expand Down
14 changes: 7 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,22 +33,22 @@ dev = []
[dependencies]
regex = "0.2"
lazy_static = "0.2"
chrono = "0.3"
unicode-segmentation = "1.1"
chrono = "0.4"
unicode-segmentation = "1.2"
itertools = "0.6.0"
url = "1.4"
url = "1.5"

serde = { version = "1.0", optional = true, features = ["derive"] }
clap = { version = "2.22.0", optional = true }
error-chain = { version = "0.10.0", optional = true }
clap = { version = "2.26", optional = true }
error-chain = { version = "0.11.0", optional = true }
serde_yaml = { version = "0.7", optional = true }
serde_json = { version = "1.0", optional = true }

[build-dependencies]
skeptic = "0.9"
skeptic = "0.13"
serde = { version = "1.0", features = ["derive"] }

[dev-dependencies]
difference = "1.0"
skeptic = "0.9"
skeptic = "0.13"
serde_yaml = "0.7"
3 changes: 1 addition & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ environment:

matrix:
# Stable channel
- TARGET: x86_64-pc-windows-gnu
CHANNEL: stable
- TARGET: i686-pc-windows-msvc
CHANNEL: stable
- TARGET: x86_64-pc-windows-msvc
Expand All @@ -30,6 +28,7 @@ test_script:
- cargo check --verbose
- cargo check --verbose --features "cli"
- cargo check --verbose --features "cli serde serde_yaml serde_json"
- cargo clean
- cargo test --verbose --features "cli serde serde_yaml serde_json"

cache:
Expand Down
1 change: 0 additions & 1 deletion benches/liquid.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#![feature(test)]

extern crate test;
extern crate serde;
extern crate serde_yaml;

extern crate liquid;
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ mod test {
ctx.set_val("test", Value::Num(42f32));
assert_eq!(ctx.get_val("test").unwrap(), &Value::Num(42f32));

ctx.run_in_scope(|mut new_scope| {
ctx.run_in_scope(|new_scope| {
// assert that values are chained to the parent scope
assert_eq!(new_scope.get_val("test").unwrap(), &Value::Num(42f32));

Expand Down
2 changes: 1 addition & 1 deletion src/filters.rs
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ pub fn strip_html(input: &Value, args: &[Value]) -> FilterResult {
let result = MATCHERS
.iter()
.fold(input,
|acc, &ref matcher| matcher.replace_all(&acc, "").into_owned());
|acc, matcher| matcher.replace_all(&acc, "").into_owned());
Ok(Str(result))
}

Expand Down

0 comments on commit 5ca6aa3

Please sign in to comment.