2019-03-21 22:09:24 +02:00
|
|
|
language: nix
|
|
|
|
|
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- mkdir -m 0755 -p /nix/var/nix/{profiles,gcroots}/per-user/$USER
|
|
|
|
- mkdir -p ~/.config/nixpkgs
|
|
|
|
|
2019-03-21 22:12:47 +02:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- env:
|
|
|
|
- NIXPKGS=https://github.com/NixOS/nixpkgs-channels/archive/nixos-18.09.tar.gz
|
2019-03-21 22:14:07 +02:00
|
|
|
- env:
|
|
|
|
- NIXPKGS=https://github.com/NixOS/nixpkgs-channels/archive/nixos-19.03.tar.gz
|
2019-03-21 22:27:26 +02:00
|
|
|
- env:
|
|
|
|
- NIXPKGS=https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz
|
2019-03-21 22:12:47 +02:00
|
|
|
|
2019-03-21 22:09:24 +02:00
|
|
|
script:
|
2019-03-21 22:26:47 +02:00
|
|
|
- nix run nixpkgs.haskellPackages.hlint -c hlint src
|
2019-03-21 22:14:07 +02:00
|
|
|
- nix build -I nixpkgs=$NIXPKGS -f ./release.nix xmonad-masser
|