summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorzimbatm <zimbatm@zimbatm.com>2017-12-25 15:07:07 +0000
committerYegor Timoshenko <yegortimoshenko@gmail.com>2017-12-25 17:21:35 +0000
commit83890749b29b56bf294ba5f088b3c179e269e7a1 (patch)
tree0dee02cd6d2dbf558f877e94874a9b665452aa4f /tests
parent571bea15a4fbc8a89990a3dfe0156c21713505ad (diff)
add Travis CI to the repo
Diffstat (limited to 'tests')
-rwxr-xr-xtests/eval-test.sh9
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