[smuxi/stable] Travis-CI: support Mono 4.5-only runtime
- From: Mirco M. M. Bauer <mmmbauer src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [smuxi/stable] Travis-CI: support Mono 4.5-only runtime
- Date: Mon, 18 Jan 2016 18:29:41 +0000 (UTC)
commit da3f97a05698b241b79ad2f731887665ca8da76b
Author: Mirco Bauer <meebey meebey net>
Date: Mon Jan 18 18:19:24 2016 +0100
Travis-CI: support Mono 4.5-only runtime
.travis.yml | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/.travis.yml b/.travis.yml
index 153bb66..33c4ea9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -17,7 +17,12 @@ script:
- sed 's!<Package>dbus-sharp-glib-2.0</Package>!<Package>dbus-sharp-glib-1.0</Package>!' -i
src/Frontend-GNOME/Frontend-GNOME.csproj
- sed 's!dbus-sharp, Version=2.0.0.0,!dbus-sharp, Version=1.0.0.0,!' -i
src/Frontend-GNOME/Frontend-GNOME.csproj
- sed 's!dbus-sharp-glib, Version=2.0.0.0,!dbus-sharp-glib, Version=1.0.0.0,!' -i
src/Frontend-GNOME/Frontend-GNOME.csproj
- - xbuild /p:Warn=0 src/smuxi.sln
+ - |
+ if test -e /usr/lib/mono/4.5/mscorlib.dll; then
+ xbuild /p:Warn=0 src/smuxi.sln
+ else
+ xbuild /p:Warn=0 src/smuxi.sln /p:TargetFrameworkVersion=v4.0
+ fi
- nunit-console bin/release/smuxi-common-tests.dll
- nunit-console bin/release/smuxi-engine-tests.dll || true
- nunit-console bin/release/smuxi-frontend-tests.dll
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]