aboutsummaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
blob: 6da21de0630a7f7d3ff7e7229f6c75837c3d9a87 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# .travis.yml

services:
  - docker

addons:
  apt:
    packages:
      - docker-ce

matrix:
  include:
    - env: BASE_OS=alpine
    - env: BASE_OS=debian

script:
  - docker build --pull -t fretlink/nix -f ${BASE_OS}/Dockerfile .
  - docker run -it --rm fretlink/nix 'nix-channel --list'
  - docker run -it --rm fretlink/nix 'nix-env -iA nixpkgs.hello && test "$(hello)" = "Hello, world!"'