42 строки
965 B
YAML
42 строки
965 B
YAML
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
|