diff --git a/.travis.yml b/.travis.yml index d4cf71ab56..65a08cbcd1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,7 +14,7 @@ matrix: script: - rustup component add rustfmt - rustup component add rust-src - - printf "\n\n[profile.dev]\ndebug = false\n" >> Cargo.toml + - sed -i "s/debug = 1/debug = false/g" Cargo.toml - cargo test --no-run # let's measure compile time separately - cargo test env: diff --git a/Cargo.toml b/Cargo.toml index 317c637958..c7e1f1215a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,9 @@ [workspace] members = [ "crates/*", "website/website-gen" ] +[profile.dev] +debug = 1 # only line info + [profile.release] incremental = true debug = 1 # only line info