mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 05:05:29 +03:00
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
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue