diff --git a/.travis.yml b/.travis.yml index 931c8a2..d4b109c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,7 @@ language: C env: + - FRAMEWORK_VERSION=v3.0 - FRAMEWORK_VERSION=v3.5 - FRAMEWORK_VERSION=v4.0 - FRAMEWORK_VERSION=v4.5 @@ -11,7 +12,7 @@ before_install: install: - sudo apt-get install mono-devel mono-mcs nunit-console - - "if [ $FRAMEWORK_VERSION = 'v3.5' ]; then ./build-DLR.sh; fi;" + - "if [ $FRAMEWORK_VERSION \\< 'v4.0' ]; then ./build-DLR.sh; fi;" before_script: - xbuild /target:Travis /property:TargetFrameworkVersion=$FRAMEWORK_VERSION CobaltAHK.proj diff --git a/CobaltAHK/CobaltAHK.csproj b/CobaltAHK/CobaltAHK.csproj index 5b4440f..35e7738 100644 --- a/CobaltAHK/CobaltAHK.csproj +++ b/CobaltAHK/CobaltAHK.csproj @@ -2,9 +2,11 @@ Debug + true false - true + true AnyCPU + 10.0.0 2.0 {27920BA7-FA6A-4AC5-9972-F205267BCCC4} @@ -36,10 +38,10 @@ CustomDLR;DEBUG - + CustomDLR;CLR_35 - + CustomDLR;CLR_35;DEBUG diff --git a/build-DLR.sh b/build-DLR.sh index 9d91b50..221464f 100755 --- a/build-DLR.sh +++ b/build-DLR.sh @@ -9,7 +9,7 @@ cd .. sed -i 's/444;//g' IronDLR/Solutions/Common.proj cp DLR.Core.sln IronDLR/Runtime/DLR.Core.sln -xbuild /t:Build /p:Configuration=v2Release IronDLR/Runtime/DLR.Core.sln +xbuild /t:Build /p:Configuration=v2Release /property:TargetFrameworkVersion=$FRAMEWORK_VERSION IronDLR/Runtime/DLR.Core.sln ls IronDLR/bin/v2Release