aboutsummaryrefslogblamecommitdiffhomepage
path: root/.travis.yml
blob: 6da21de0630a7f7d3ff7e7229f6c75837c3d9a87 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                 




                         
       
                                                                  

                                                                                                     
# .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!"'