]> git.immae.eu Git - github/fretlink/docker-nix.git/blame - .travis.yml
Merge pull request #3 from paulrbr-fl/add-debian-based
[github/fretlink/docker-nix.git] / .travis.yml
CommitLineData
89f0519e
P
1# .travis.yml
2
3services:
4 - docker
5
6addons:
7 apt:
8 packages:
9 - docker-ce
10
0366f366
P
11matrix:
12 include:
13 - env: BASE_OS=alpine
14 - env: BASE_OS=debian
15
89f0519e 16script:
0366f366 17 - docker build --pull -t fretlink/nix ${BASE_OS}/
08fdd151
P
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!"'