forked from microsoft/vscode-cmake-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (35 loc) · 965 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
os:
- osx
- linux
compiler:
- gcc
dist: trusty
sudo: false
addons:
apt:
sources:
- sourceline: deb [arch=amd64] https://packages.microsoft.com/ubuntu/14.04/prod trusty main
key_url: https://packages.microsoft.com/keys/microsoft.asc
packages:
- powershell
- gdb
before_install:
- |
nvm install 8.12.0 || exit 2
if [ $TRAVIS_OS_NAME == "linux" ]; then
export DISPLAY=:99.0
sh -e /etc/init.d/xvfb start
sleep 3
else
curl https://github.com/PowerShell/PowerShell/releases/download/v6.1.1/powershell-6.1.1-osx-x64.pkg -Lo /tmp/pwsh.pkg || exit 2
sudo installer -pkg /tmp/pwsh.pkg -target / || exit 2
fi
script: pwsh -NonInteractive -NoProfile -NoLogo scripts/ci.ps1
notifications:
webhooks:
- https://webhooks.gitter.im/e/064f3494f67de1248aa0
- https://webhooks.gitter.im/e/cfff11fc076f431c1edf
email:
on_success: change
on_failure: always