diff options
-rw-r--r-- | .travis.yml | 2 | ||||
-rw-r--r-- | Cargo.toml | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index d4cf71ab5..65a08cbcd 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -14,7 +14,7 @@ matrix: | |||
14 | script: | 14 | script: |
15 | - rustup component add rustfmt | 15 | - rustup component add rustfmt |
16 | - rustup component add rust-src | 16 | - rustup component add rust-src |
17 | - printf "\n\n[profile.dev]\ndebug = false\n" >> Cargo.toml | 17 | - sed -i "s/debug = 1/debug = false/g" Cargo.toml |
18 | - cargo test --no-run # let's measure compile time separately | 18 | - cargo test --no-run # let's measure compile time separately |
19 | - cargo test | 19 | - cargo test |
20 | env: | 20 | env: |
diff --git a/Cargo.toml b/Cargo.toml index 317c63795..c7e1f1215 100644 --- a/Cargo.toml +++ b/Cargo.toml | |||
@@ -1,6 +1,9 @@ | |||
1 | [workspace] | 1 | [workspace] |
2 | members = [ "crates/*", "website/website-gen" ] | 2 | members = [ "crates/*", "website/website-gen" ] |
3 | 3 | ||
4 | [profile.dev] | ||
5 | debug = 1 # only line info | ||
6 | |||
4 | [profile.release] | 7 | [profile.release] |
5 | incremental = true | 8 | incremental = true |
6 | debug = 1 # only line info | 9 | debug = 1 # only line info |