mirror of
https://github.com/PowerShell/PowerShell.git
synced 2024-11-24 02:04:07 +08:00
af9c4cb673
Since we don't want to build packages for pull requests (as they cannot get archived as artifacts), we need a slightly different build command, and moving it to a script was cleaner.
32 lines
511 B
YAML
32 lines
511 B
YAML
language: cpp
|
|
|
|
os:
|
|
- linux
|
|
- osx
|
|
sudo: required
|
|
dist: trusty
|
|
osx_image: xcode8
|
|
|
|
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: ./tools/travis.sh
|