Created
November 14, 2016 21:27
-
-
Save ryanartecona/555cccfeaa1f28cae86b9022365afd89 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
general: | |
build_dir: cli | |
machine: | |
environment: | |
NIX_PROFILE: /nix/var/nix/profiles/ubuntu | |
PATH: $NIX_PROFILE/bin:$PATH | |
NIX_PATH: nixpkgs=/nix/var/nix/profiles/per-user/ubuntu/channels/nixpkgs | |
dependencies: | |
cache_directories: | |
- ~/nix-cache | |
override: | |
- sudo install -o ubuntu -d /nix ~/nix-cache | |
- mv ~/nix-cache/* /nix || true | |
- which nix-build 2>/dev/null || curl https://nixos.org/nix/install | bash | |
- nix-build -A env --no-out-link | |
- cp -r /nix/* ~/nix-cache | |
test: | |
override: | |
- $(nix-build -A testScript) $CIRCLE_TEST_REPORTS | |
- nix-build --arg withTests false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment