Skip to content

Commit

Permalink
build(.travis.yml): nix go mod download during install
Browse files Browse the repository at this point in the history
  • Loading branch information
jtacoma committed Dec 8, 2020
1 parent c8a6712 commit 283cdcd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ before_install:
- sudo mkdir -p /etc/nix
- echo "substituters = https://cache.nixos.org/ file://$HOME/nix.store" | sudo tee -a /etc/nix/nix.conf > /dev/null
- echo 'require-sigs = false' | sudo tee -a /etc/nix/nix.conf > /dev/null
- cd "${TRAVIS_BUILD_DIR}" ; go mod download

install:
- nix-shell --run 'go mod download'

before_cache:
- mkdir -p $HOME/nix.store
Expand Down

0 comments on commit 283cdcd

Please sign in to comment.