PowerShell/.travis.yml

51 lines
1.1 KiB
YAML
Raw Normal View History

language: cpp
git:
depth: 1000
matrix:
include:
- os: linux
dist: trusty
sudo: required
- os: osx
osx_image: xcode8.1
fast_finish: true
addons:
artifacts:
2017-02-09 23:01:54 +01:00
paths:
- $(ls powershell*{deb,pkg,AppImage,gz} | tr "\n" ":")
- pester-tests.xml
install:
# Default 2.0.0 Ruby is buggy
# Default bundler version is buggy
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
rvm install ruby-2.3.3;
rvm --default use 2.3.3;
fi
- pushd tools
2017-07-21 23:20:51 +02:00
- ./install-powershell.sh
- popd
# spellcheck
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
nvm install 6.4.0 &&
npm install -g markdown-spellcheck@0.11.0;
fi
- ulimit -n 4096
- pwsh -File tools/travis.ps1 -Stage Bootstrap
script:
- pwsh -File tools/travis.ps1
# spellcheck
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
2017-02-14 01:45:05 +01:00
mdspell '**/*.md' '!powershell/**/*.md' --ignore-numbers --ignore-acronyms --report;
2016-10-28 17:02:29 +02:00
fi
after_failure:
- pwsh -File tools/travis.ps1 -Stage Failure
after_success:
- pwsh -File tools/travis.ps1 -Stage Success