1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-15 17:51:01 +00:00
nix-darwin/.travis.yml
Daiderd Jordan 2ee34a1d24
travis: add workaround for install test
This shouldn't be necessary and is probably a bug.
2019-07-02 00:25:43 +02:00

15 lines
649 B
YAML

language: nix
matrix:
include:
- os: osx
osx_image: xcode8.3 # 10.12
script:
- nix-build ./release.nix -I darwin=. -A manpages
- nix-build ./release.nix -I darwin=. -A tests
- nix-build ./release.nix -I darwin=. -A examples.simple
- yes | nix-shell -A installer
- sudo launchctl kickstart system/org.nixos.nix-daemon # FIXME
- 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