about summary refs log tree commit diff
path: root/.travis.yml
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2018-03-09T11·57+0100
committerVincent Ambo <github@tazj.in>2018-03-09T12·35+0100
commita1d9d8b199a3c9402c34ae1a12f85495d3c1cfd2 (patch)
tree783df8c2fd8daeb5572f8dbec429905585df1ad6 /.travis.yml
parent4a6db37ef7581fc26f3eff50a25d4a44fab23d37 (diff)
feat(build): Build both derivations on Travis
Diffstat (limited to '.travis.yml')
-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