CI: Travis: add: cache: for /nix/store, would share between master and inside PRs

M  .travis.yml
This commit is contained in:
Anton-Latukha 2020-05-27 17:39:50 +03:00
parent 13c030765d
commit 376638cccd
No known key found for this signature in database
GPG key ID: 3D84C07E91802E41

View file

@ -147,6 +147,12 @@ script:
#
#
# NOTE: Travis cache allows near fast cache loading of Nix pkgs store,
# Since the Cachix does not cache PRs - Travis cache is great because it caches PR branch builds
# During devepment of this PR I had ~40GB cache on the PR branch.
cache:
directories:
- /nix/store
branches:
only:
- master