Enabled osx on travis (#15855)

This commit is contained in:
Marc Scholten
2016-05-31 12:34:59 +02:00
committed by Domen Kožar
parent cf32f82b8d
commit 36cc45782b
2 changed files with 19 additions and 6 deletions

View File

@@ -27,7 +27,11 @@ elif [[ $1 == build ]]; then
nix-build nixos/release.nix -A options
echo "=== Checking tarball creation"
nix-build pkgs/top-level/release.nix -A tarball
if [[ $TRAVIS_OS_NAME == "osx" ]]; then
echo "Skipped, as not working on darwin"
else
nix-build pkgs/top-level/release.nix -A tarball
fi
if [[ $TRAVIS_PULL_REQUEST == false ]]; then
echo "=== Not a pull request"