]> git.immae.eu Git - github/fretlink/docker-nix.git/blob - .travis.yml
32a66bbfa42cf398c5d68aabb724e6088e06a732
[github/fretlink/docker-nix.git] / .travis.yml
1 # .travis.yml
2
3 services:
4 - docker
5
6 addons:
7 apt:
8 packages:
9 - docker-ce
10
11 matrix:
12 include:
13 - env: BASE_OS=alpine
14 - env: BASE_OS=debian
15
16 script:
17 - docker build --pull -t fretlink/nix ${BASE_OS}/
18 - docker run -it --rm fretlink/nix 'nix-channel --list'
19 - docker run -it --rm fretlink/nix 'nix-env -iA nixpkgs.hello && test "$(hello)" = "Hello, world!"'