From f6325c8fae91ddb80caf9e403c9cb80684df97f5 Mon Sep 17 00:00:00 2001 From: jbtule Date: Wed, 2 Oct 2019 15:58:39 -0500 Subject: [PATCH] Precursor for switch from travis to .github actions --- .travis.yml | 37 ------------------- Directory.build.props | 5 +++ .../FSharp.Interop.Dynamic.fsproj | 5 ++- Tests/Tests.fsproj | 1 + 4 files changed, 9 insertions(+), 39 deletions(-) delete mode 100644 .travis.yml create mode 100644 Directory.build.props diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 614d72d..0000000 --- a/.travis.yml +++ /dev/null @@ -1,37 +0,0 @@ -# Travis-CI Build for dynamitey -# see travis-ci.org for details - -language: csharp - -dotnet: 2.1.200 -mono: 5.10.1 - -matrix: - include: - - os: osx - osx_image: xcode9 - - os: linux - dist: trusty - sudo: required - -before_install: - - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then wget --retry-connrefused --waitretry=1 -O /tmp/dotnet1_1_2.pkg https://download.microsoft.com/download/D/0/2/D028801E-0802-43C8-9F9F-C7DB0A39B344/dotnet-osx-x64.1.1.2.pkg ; fi - - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sudo installer -package "/tmp/dotnet1_1_2.pkg" -target "/" -verboseR; fi - - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then wget --retry-connrefused --waitretry=1 -O /tmp/dotnet2_0_3.pkg https://download.microsoft.com/download/D/7/2/D725E47F-A4F1-4285-8935-A91AE2FCC06A/dotnet-sdk-2.0.3-osx-x64.pkg ; fi - - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sudo installer -package "/tmp/dotnet2_0_3.pkg" -target "/" -verboseR; fi - - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -qq dotnet-sharedframework-microsoft.netcore.app-1.1.2; fi - - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -qq dotnet-runtime-2.0.3; fi -solution: FSharp.Interop.Dynamic.sln - -install: - - dotnet restore - -script: - - cd Tests - - dotnet build -# - dotnet xunit -nobuild -fxversion 1.1.2 -framework netcoreapp1.1 -# - dotnet xunit -nobuild -fxversion 2.0.3 -framework netcoreapp2.0 - - dotnet xunit -nobuild -framework net46 -branches: - only: - - master diff --git a/Directory.build.props b/Directory.build.props new file mode 100644 index 0000000..361e2ba --- /dev/null +++ b/Directory.build.props @@ -0,0 +1,5 @@ + + + True + + \ No newline at end of file diff --git a/FSharp.Interop.Dynamic/FSharp.Interop.Dynamic.fsproj b/FSharp.Interop.Dynamic/FSharp.Interop.Dynamic.fsproj index d7edcdd..9dd389f 100644 --- a/FSharp.Interop.Dynamic/FSharp.Interop.Dynamic.fsproj +++ b/FSharp.Interop.Dynamic/FSharp.Interop.Dynamic.fsproj @@ -1,6 +1,7 @@ - + netstandard1.6;netstandard2.0;net45 + netstandard2.0 dynamic operator using the DLR Ekon Benefits Jay Tuley @@ -20,7 +21,7 @@ - + diff --git a/Tests/Tests.fsproj b/Tests/Tests.fsproj index aac727e..3988116 100644 --- a/Tests/Tests.fsproj +++ b/Tests/Tests.fsproj @@ -1,6 +1,7 @@  netcoreapp1.1;netcoreapp2.0;net46 + netcoreapp2.0 Exe