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:
parent
1d2fcde841
commit
5b7a1b97d2
|
@ -26,6 +26,9 @@ elif [[ $1 == build ]]; then
|
||||||
echo "=== Checking tarball creation"
|
echo "=== Checking tarball creation"
|
||||||
nix-build pkgs/top-level/release.nix -A tarball
|
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
|
if [[ $TRAVIS_PULL_REQUEST == false ]]; then
|
||||||
echo "=== Not a pull request"
|
echo "=== Not a pull request"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user