-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy path.travis.yml
44 lines (39 loc) · 1.77 KB
/
.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
42
43
language: c
matrix:
include:
- os: linux
env: NAME="script build"
sudo: required
dist: trusty
services: docker
addons:
apt:
packages:
- zip
- curl
script: "./.travis/build.sh"
before_script:
- curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
- curl https://packages.microsoft.com/config/ubuntu/14.04/prod.list | sudo tee /etc/apt/sources.list.d/microsoft.list
- sudo apt-get update
- sudo apt-get install -y powershell
- chmod +x ./.travis/build.sh
before_deploy:
# Set up git user name and tag this commit
- git config --local user.name "EventMacrosBR"
- git config --local user.email "noreply@noreply.org"
- git tag "$(git rev-list --count master).$(git log --format=%h -1)"
deploy:
provider: releases
api_key:
secure: "SOoGAkuBnYrNbet0fnodZc0v2YzUSHbYLHSWssAtl0NhrDGVqDsFPoWJSdfzQF+YjaePNeo4DjG7tdZHmmR2vz1wx9WlmszyMCeO0MlAgrznb1MbbCKJhS/nrVbyNVb/rHsVG+rAupluOz0X9UtSEfsiV4rFXQzSde3gTl+mIejYNAi+XNhpSzCiUdAwyxdyWDKDB3NqnaIIw+FxqERvlG/CdGSXar/7as7jHc2r9sJNQH11ImrrK/tG1CbKlb1pSOqaLYGkGFdnDwteuRLmr45henTf4t4gpusr1uC4KPWcDrMP4KT16tpJPNqvYQ2lQ6NoUVz2YKajpkPmESVNYq30ONqgh5mXbM7sogh0Gs663Tnv4K/CBHSQhOMElWig80btAJ57cZ9JWRAdSnpy8DZkzNN21nhEyDWSEyUBdKn0UMjsHOhjVz8zK2ACJ8DvtMHUf2Mp0Isd6PAhwmAI4/nL8ssLjMFM/OMgyKXL72HqMQRUuJrecFamsCIlVIVlHSYnhj9MmDydQuz4h29gh26VdLeAs6ayvDleESno0tCINplSs3RbyjqgNh3MiJo2cX3m5crU6bEWo+EeLsvrDzmwtwQEHkuWMRcyQYfe3FPpazXjahnls6G+ofFuIp6dzck/Y7WO+/VfoDVJFEr/32DBaedSBJCpEa6qa0nx4B4="
file_glob: true
file: dist/*
skip_cleanup: true
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/e781a175095502e5c314
on_success: always
on_failure: always
on_start: always