Travis build: source environment before build
💩
This commit is contained in:
parent
3de73cb77d
commit
5e6b6df33e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user