diff options
author | Aleksey Kladov <[email protected]> | 2019-10-11 09:06:28 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-10-11 09:06:28 +0100 |
commit | e4eb970273926d1728a70b4d1493df97e9fde672 (patch) | |
tree | c478ad7f4753cd07d41d6a88379e3003f613a61e | |
parent | f70c54ccfbf25a0d9c136c9176f5e17a4cf0e13a (diff) |
save disk space
-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 |