diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 8b3769d..32a66bb 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -8,7 +8,12 @@ addons: | |||
8 | packages: | 8 | packages: |
9 | - docker-ce | 9 | - docker-ce |
10 | 10 | ||
11 | matrix: | ||
12 | include: | ||
13 | - env: BASE_OS=alpine | ||
14 | - env: BASE_OS=debian | ||
15 | |||
11 | script: | 16 | script: |
12 | - docker build --pull -t fretlink/nix . | 17 | - docker build --pull -t fretlink/nix ${BASE_OS}/ |
13 | - docker run -it --rm fretlink/nix 'nix-channel --list' | 18 | - docker run -it --rm fretlink/nix 'nix-channel --list' |
14 | - docker run -it --rm fretlink/nix 'nix-env -iA nixpkgs.hello && test "$(hello)" = "Hello, world!"' | 19 | - docker run -it --rm fretlink/nix 'nix-env -iA nixpkgs.hello && test "$(hello)" = "Hello, world!"' |