Commit a9207042 authored by Nathaniel Barragan's avatar Nathaniel Barragan Committed by Jeremy Soller
Browse files

Changed the gitlab CI to match the travis CI

parent defbbe20
......@@ -3,8 +3,10 @@ before_script:
- apt-get install -qq build-essential curl git
- curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly
- source "$HOME/.cargo/env"
- rustup component add rustfmt-preview
nightly:
script:
- cargo fmt -- --check
- cargo build
- cargo test
\ No newline at end of file
- cargo test
......@@ -278,9 +278,7 @@ pub struct DefaultEnvironment {
impl DefaultEnvironment {
pub fn new() -> DefaultEnvironment {
DefaultEnvironment {
recursion_level: 0
}
DefaultEnvironment { recursion_level: 0 }
}
}
......
......@@ -423,7 +423,7 @@ mod tests {
(
((Value::hex(24) * Value::dec(4)).unwrap()
* Value::Float(d128!(1) / d128!(48)))
.unwrap(),
.unwrap(),
Value::Float(d128!(2)),
),
];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment