Skip to content

Instantly share code, notes, and snippets.

@Luiz-Monad
Created October 14, 2015 19:17
Show Gist options
  • Save Luiz-Monad/2466dc1aca84a3a02357 to your computer and use it in GitHub Desktop.
Save Luiz-Monad/2466dc1aca84a3a02357 to your computer and use it in GitHub Desktop.
powershell build
$packages = (git diff --name-only $env:TRAVIS_COMMIT_RANGE) |
? { $_ -like "conda/*" } |
% { $_ | split-path -leaf } |
group | % { $_.name }
write-host "Packages to be built: $packages"
foreach ( $pkg in $packages )
{
foreach ( $python in $env:PYTHON )
{
conda build "conda/$pkg" --python $python
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment