PowerShell/.travis.yml

42 lines
841 B
YAML
Raw Normal View History

language: cpp
git:
depth: 1000
os:
- linux
- osx
sudo: required
dist: trusty
osx_image: xcode7.3
matrix:
fast_finish: true
addons:
artifacts:
2017-02-09 23:01:54 +01:00
paths:
2017-02-14 01:45:05 +01:00
- $(ls powershell*{deb,pkg,AppImage} | tr "\n" ":")
- pester-tests.xml
install:
- pushd tools
- ./download.sh
- popd
# Default 2.0.0 Ruby is buggy
# Default bundler version is buggy
2017-02-09 18:35:34 +01:00
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then rvm use 2.3.1; gem uninstall bundler -v1.13.1; fi
# spellcheck
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
nvm install 6.4.0 &&
npm install -g markdown-spellcheck@0.11.0;
fi
script:
- ulimit -n 4096
- powershell -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