mirror of
https://github.com/PowerShell/PowerShell.git
synced 2024-11-24 02:04:07 +08:00
8ef8f9fada
This should enable building via PR from forks. This token has read-only access to download the installer packages, but should nonetheless be revoked and replaced with a wget download when the repository goes public.
31 lines
1.4 KiB
YAML
31 lines
1.4 KiB
YAML
language: cpp
|
|
matrix:
|
|
include:
|
|
- os: linux
|
|
dist: trusty
|
|
sudo: required
|
|
- os: osx
|
|
osx_image: xcode8
|
|
language: generic
|
|
env:
|
|
- GITHUB_TOKEN=a27573e27bea23fb05393ead69511b09e3b224be
|
|
cache:
|
|
directories:
|
|
- $HOME/.dotnet
|
|
- $HOME/.nuget
|
|
addons:
|
|
artifacts:
|
|
s3_region: "us-west-2"
|
|
paths: $(ls powershell*{deb,pkg} | tr "\n" ":")
|
|
git:
|
|
submodules: false
|
|
install:
|
|
- git config --global url.git@github.com:.insteadOf https://github.com/
|
|
- git submodule update --init
|
|
- (cd tools && ./download.sh)
|
|
script:
|
|
- ulimit -n 4096; powershell -c "Import-Module ./build.psm1; Start-PSBootstrap -Package; Start-PSBuild -Publish; Start-PSPackage; Start-PSPester; Start-PSxUnit"
|
|
notifications:
|
|
slack:
|
|
secure: sKYd4n61+ZFzGZuWGUl8V1kN0NM16wRVOFVlNhlFCwnkrEsKROb++EvXf5uwnKuzxkhEjvPWO+UFgeshQDoR93y4s5YLfhC5JupK4nUzjPzWs208KTrh8u/x9MY8X6Ojxi85EEAiku5GzMoMlkucSStZUYwbIfnelzqdw8uoRwmm2MW4XCPwsuEuDUVghyiva0Mdx1G6MopCrK8T96WywJXT3chhfZQgVt+sQCBt9g+2kjDaObKrzG0P07IVK43ZpDgnu6AoxlyBzIx9mJH2Oa/tki3/kTO72Wcp3ps3qvmiStADamzVKR9p1VlWCLWAd6VOehxuByCGEyujpzk135Wud2DZYO+8LD6inZVhFe3Wt5pCU9BDXZppiATfMCqgXEH7nK54pEn79yHcjthRJ2+Z9ot7As2fu3RSBmTAi8nRP0fxRyX/jctR3S6P0qt0y1ynx9nzBfhmhPQW0PMVazWS/nruQIvK/3iiYXjZxM5bBwIvabmwV00EYeTdbL6ufXWNgQcG1ZWkDsi2I3vst/ytUbHwaFYg83bXWpxg9DCzJeWLVUvE5/3NfBxRAuCTot/fgTEA9IYScvrlL7Q/bT0cOt0vEM98MPf1UO+WP85uxhsRgHtwDEo+jMaL6ZFkPhlV6mmmED4NdY2//a571cLNXdnuMAze5O3TWGBG53g=
|