about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index b49a7b383f07..a97db2493a85 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,2 +1,10 @@
 ---
 language: nix
+script:
+  # Build the derivation targeting NixOS.
+  # This derivation executes tests.
+  - nix-build default.nix
+
+  # Build the release derivation with statically linked executables
+  # for multiple operating systems.
+  - nix-build release.nix