travis: also check NixOS options

This will at least catch simple errors in default values and is fairly
cheap, in terms of resource and time consumption, and adds very little
additional output unless there's a failure.
This commit is contained in:
Joachim Fasting 2016-04-30 18:59:54 +02:00
parent 1d2fcde841
commit 5b7a1b97d2
No known key found for this signature in database
GPG key ID: 4330820E1E04DCF4

View file

@ -26,6 +26,9 @@ elif [[ $1 == build ]]; then
echo "=== Checking tarball creation"
nix-build pkgs/top-level/release.nix -A tarball
echo "=== Checking NixOS options"
nix-build --show-trace nixos/release.nix -A options
if [[ $TRAVIS_PULL_REQUEST == false ]]; then
echo "=== Not a pull request"
else