add Travis CI to the repo

This commit is contained in:
zimbatm authored and Yegor Timoshenko committed 2017-12-25 17:21:35 +00:00
1 parent 571bea15a4
commit 83890749b2
2 files changed
+8 -4

No files matched your search

+5 -4
View File
@@ -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