-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.travis.yml
More file actions
57 lines (47 loc) · 1.27 KB
/
.travis.yml
File metadata and controls
57 lines (47 loc) · 1.27 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
sudo: false
language: csharp
solution: "Singleton.sln"
before_script:
- git fetch origin master:master
- git pull
- git log --graph --full-history --all --color --date=short --pretty=format:"%Cred%x09%h %Creset%ad%Cgreen%d %Creset %s %C(bold)(%an)%Creset"
install:
- nuget restore "Singleton.sln"
- nuget install xunit.runner.console -Version 2.1.0 -OutputDirectory packages
script:
- mono --version
- xbuild /p:Configuration=Release Singleton.sln
- mono ./packages/xunit.runner.console.2.1.0/tools/xunit.console.exe ./SingletonTest/bin/Release/SingletonTest.dll
after_script:
- tar czf travis_artifacts.tar.gz /${TRAVIS_BUILD_DIR}
mono:
- latest
- 4.4.2
matrix:
include:
- os: linux
dist: trusty
sudo: required
mono: latest
- os: osx
osx_image: xcode7.2
mono: latest
allow_failures:
- os: osx
addons:
artifacts:
paths:
- $(git ls-files -o | tr "\n" ":")
- $(ls /var/log/*.log | tr "\n" ":")
- $(ls ${TRAVIS_BUILD_DIR} | tr "\n" ":")
debug: true
deploy:
provider: releases
api_key: "209837541c19ae9d207e5c6516720a8b07ecbcba"
file_glob: false
file: "travis_artifacts.tar.gz"
skip_cleanup: true
on:
tags: true
all_branches: true
#repo: <lsauer/csharp-singleton>