diff options
author | paulrbr-fl <43074087+paulrbr-fl@users.noreply.github.com> | 2018-10-31 12:03:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-31 12:03:27 +0100 |
commit | 7a524a48c137ec0941c62bb010c2cdf37ed00826 (patch) | |
tree | a5c273f908a5a5a7e8c6dd0af8b3f0d98e4d50bb /.travis.yml | |
parent | dedbcf1564d728be9e5bc359244b4ffba7665615 (diff) | |
parent | 0366f366617a0a5c36d365c56a2c1178fd19ed94 (diff) | |
download | docker-nix-2.1.3-1.tar.gz docker-nix-2.1.3-1.tar.zst docker-nix-2.1.3-1.zip |
Merge pull request #3 from paulrbr-fl/add-debian-based2.1.3-1
Add debian based images
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!"' |