fix(build): Don't use Cachix as the binary cache during builds

Permission changes in the Travis CI Nix builders have caused this to
start failing, as the build user now has insufficient permissions to
use caches.

There may be a way to change the permissions instead, but in the
meantime we will just cause things to rebuild.
This commit is contained in:
Vincent Ambo 2020-07-25 14:08:24 +01:00
parent d17c780eaf
commit ba1d803231

View File

@ -12,7 +12,6 @@ before_script:
- echo ${GOOGLE_KEY} | base64 -d > test-files/key.json - echo ${GOOGLE_KEY} | base64 -d > test-files/key.json
- echo ${GCS_SIGNING_PEM} | base64 -d > test-files/gcs.pem - echo ${GCS_SIGNING_PEM} | base64 -d > test-files/gcs.pem
- nix-env -f '<nixpkgs>' -iA cachix -A go - nix-env -f '<nixpkgs>' -iA cachix -A go
- cachix use nixery
script: script:
- test -z $(gofmt -l server/ build-image/) - test -z $(gofmt -l server/ build-image/)
- nix-build --arg maxLayers 1 | cachix push nixery - nix-build --arg maxLayers 1 | cachix push nixery