Skip to content

Commit

Permalink
travis-ci: don't check NixOS options on darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar committed May 31, 2016
1 parent f44e70a commit 926c929
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions maintainers/scripts/travis-nox-review-pr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ elif [[ $1 == nox ]]; then
elif [[ $1 == build ]]; then
source $HOME/.nix-profile/etc/profile.d/nix.sh

echo "=== Checking NixOS options"
nix-build nixos/release.nix -A options

echo "=== Checking tarball creation"
if [[ $TRAVIS_OS_NAME == "osx" ]]; then
echo "Skipped, as not working on darwin"
echo "Skipping NixOS things on darwin"
else
echo "=== Checking NixOS options"
nix-build nixos/release.nix -A options

echo "=== Checking tarball creation"
nix-build pkgs/top-level/release.nix -A tarball
fi

Expand Down

0 comments on commit 926c929

Please sign in to comment.