diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..3f4f398 --- /dev/null +++ b/.travis.yml | |||
@@ -0,0 +1,14 @@ | |||
1 | # .travis.yml | ||
2 | |||
3 | services: | ||
4 | - docker | ||
5 | |||
6 | addons: | ||
7 | apt: | ||
8 | packages: | ||
9 | - docker-ce | ||
10 | |||
11 | script: | ||
12 | - docker build --pull -t fretlink/nix . | ||
13 | - docker run -it --rm fretlink/nix nix-channel --list | ||
14 | - docker run -it --rm fretlink/nix sh -l -c 'nix-env -iA nixpkgs.hello && test "$(hello)" = "Hello, world!"' | ||