Travis build: source environment before build

💩
This commit is contained in:
wmertens 2014-10-15 11:52:23 +02:00
parent 3de73cb77d
commit 5e6b6df33e

View File

@ -22,6 +22,8 @@ elif [[ $1 == nox ]]; then
git clone -q https://github.com/madjar/nox
pip --quiet install -e nox
elif [[ $1 == build ]]; then
source $HOME/.nix-profile/etc/profile.d/nix.sh
if [[ $TRAVIS_PULL_REQUEST == false ]]; then
echo "===> Not a pull request, checking evaluation"
nix-build pkgs/top-level/release.nix -A tarball