]>
Commit | Line | Data |
---|---|---|
89f0519e P |
1 | # .travis.yml |
2 | ||
3 | services: | |
4 | - docker | |
5 | ||
6 | addons: | |
7 | apt: | |
8 | packages: | |
9 | - docker-ce | |
10 | ||
0366f366 P |
11 | matrix: |
12 | include: | |
13 | - env: BASE_OS=alpine | |
14 | - env: BASE_OS=debian | |
15 | ||
89f0519e | 16 | script: |
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!"' |