language: nix
script: nix-shell --command "go version && make test"

language: nix
script:
  # Remove default channel
  - nix-channel --remove nixpkgs
  # Add stable 17.09 channel
  - nix-channel --add https://nixos.org/channels/nixos-17.09 nixpkgs
  # Update expressions from channel
  - nix-channel --update
  # Run tests
  - nix-shell --command "go version && make test"

Set nix channel for Travis to 17.09
Set nix channel for Travis to 17.09
