1
1
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-11-14 12:36:14 +03:00
nix-darwin/.travis.yml
2018-01-17 22:00:05 +01:00

14 lines
523 B
YAML

language: nix
matrix:
include:
- os: osx
osx_image: xcode8.3 # 10.12
script:
- nix-build ./release.nix -I darwin=. -A tests
- nix-build ./release.nix -I darwin=. -A examples.simple
- yes | nix-shell -A installer
- nix-shell -A installer.check
- /run/current-system/sw/bin/darwin-rebuild switch -I darwin=$HOME/.nix-defexpr/channels/darwin -I darwin-config=$HOME/.nixpkgs/darwin-configuration.nix
- yes | nix-shell -A uninstaller
- nix-shell -A uninstaller.check