Skip to content

Commit 03fd86d

Browse files
authored
Merge pull request #276 from integer32llc/ci-cache
Re-enable caching of Rust builds in Travis
2 parents 778ef96 + 65609c6 commit 03fd86d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis/compile-backend.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@ docker \
1414
-v $cache_dir/rust/target:/ui/target \
1515
--workdir /ui \
1616
ekidd/rust-musl-builder:nightly \
17-
bash -c 'cargo build --locked --target=x86_64-unknown-linux-musl --release'
17+
bash -c 'sudo chown -R rust:rust /home/rust/.cargo /ui/target; \
18+
cargo build --locked --target=x86_64-unknown-linux-musl --release'

0 commit comments

Comments
 (0)