mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-08 10:58:37 +08:00
add Travis CI to the repo
This commit is contained in:
committed by
Yegor Timoshenko
parent
571bea15a4
commit
83890749b2
@@ -7,10 +7,11 @@ find=(find . -name default.nix)
|
||||
for profile in `${find[@]}`; do
|
||||
echo evaluating $profile >&2
|
||||
|
||||
nixos-rebuild \
|
||||
-I nixos-config=tests/eval-test.nix \
|
||||
-I nixos-hardware-profile=$profile \
|
||||
dry-build
|
||||
nix-build '<nixpkgs/nixos>' \
|
||||
-I nixos-config=tests/eval-test.nix \
|
||||
-I nixos-hardware-profile=$profile \
|
||||
-A system \
|
||||
--dry-run
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user