forked from PowerShell/PowerShell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (35 loc) · 841 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
language: cpp
git:
depth: 1000
os:
- linux
- osx
sudo: required
dist: trusty
osx_image: xcode7.3
matrix:
fast_finish: true
addons:
artifacts:
paths:
- $(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
- 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 [email protected];
fi
script:
- ulimit -n 4096
- powershell -File tools/travis.ps1
# spellcheck
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
mdspell '**/*.md' '!powershell/**/*.md' --ignore-numbers --ignore-acronyms --report;
fi