forked from CodeCavePro/monodevelop-wakatime
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
28 lines (24 loc) · 1.59 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
# use the new container-based Travis infrastructure
os: linux
dist: bionic
sudo: false
language: generic
install:
- sudo apt install apt-transport-https dirmngr
- sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
- echo "deb https://download.mono-project.com/repo/ubuntu vs-bionic main" | sudo tee /etc/apt/sources.list.d/mono-official-vs.list
- sudo apt update -qy
- sudo apt-get install -yq nuget mono-devel monodevelop # Install MonoDevelop for mdtool utility
- nuget restore ./src/MonoDevelop.WakaTime.sln
script:
- mdtool --help # must be run at least once before doing `mdtool setup ...` (seemingly an mdtool bug)
- xbuild /p:Configuration=Debug ./src/MonoDevelop.WakaTime.sln
deploy:
provider: releases
api_key:
secure: YIGGCXxc6/z+JJU6ndb1BoxMIvodjBZvy+lKXCXap41C9QOjMvIetbsb84xuuOA4p3oOJhZJ9nCEnG1jXlIKDiV8EBzAIbqwkuWAd4nlaJZ0s0KrLTdD/tRlSwkKH0bL0fItDLybxz46N3XXRLPWhquTKtOn0oUeZQ5NydE4WTX+UcwWY+4s9DSzPYU1w8GSfIRRVWWvB9HBq/JYfd3vhI0G8n4v74CebQWa2kCAKzqWrsMmkZM/EKWsO2c+D5z9aNuwU7eikLhQsJVB+RiHQPQB05iH+CVUd7ntz3KhJ7JAJWYF04trFaXFtlDHMqM8HkAlbE4nGu5lPZxF77Kz77nl6ZcwOVyqG8XH+DAAqb7FjFk1m1RI6uOslv9RhKFwNvjRoKWfYeUF+F13dfKmAtqvnTwx7FNuuxOBO2PAvaABNAaF2pXSUbD2HuE96tQF4xwqPtM/gL0+LnwKRCf2rk156ZCoMs2K0SYQuOad6hMQ2IWvo/4ODJv2SrzJ4U7OQbe7W2M7eSfR+35ggITVGsqnx9i0unyafSAr0FOPs1CpFvDt+ZtPyOHe4N8MFVMpRaQZ9UgwQdj+wQqfZLl+NLq4Dv8WdCEfdMdNzv8qsPmerT/BunsbpHKhfhvKpIng4uiHdZeqc3yDXe45w+rTgUXHoH6wlLj/iInwdS+1SmA=
file_glob: true
file: "./bin/Debug/MonoDevelop.WakaTime_*.mpack" # find the addin
skip_cleanup: true
on:
tags: true