diff options
author | zimbatm <zimbatm@zimbatm.com> | 2017-12-25 15:07:07 +0000 |
---|---|---|
committer | Yegor Timoshenko <yegortimoshenko@gmail.com> | 2017-12-25 17:21:35 +0000 |
commit | 83890749b29b56bf294ba5f088b3c179e269e7a1 (patch) | |
tree | 0dee02cd6d2dbf558f877e94874a9b665452aa4f /tests | |
parent | 571bea15a4fbc8a89990a3dfe0156c21713505ad (diff) |
add Travis CI to the repo
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/eval-test.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/eval-test.sh b/tests/eval-test.sh index 00970b7..5be9103 100755 --- a/tests/eval-test.sh +++ b/tests/eval-test.sh @@ -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 |