diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a645245 --- /dev/null +++ b/.gitignore @@ -0,0 +1,58 @@ +# Finder +.DS_Store + +# Extracts from CC0 https://github.com/github/gitignore/blob/master/VisualStudio.gitignore + +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. +## +## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore + +## User-specific files +*.suo +*.user +*.userosscache +*.sln.docstates + +## User-specific files (MonoDevelop/Xamarin Studio) +*.userprefs + +## Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +bld/ +[Bb]in/ +[Oo]bj/ +[Ll]og/ + +## Visual Studio 2015 cache/options directory +.vs/ + +## NuGet Packages +*.nupkg +## The packages folder can be ignored because of Package Restore +**/packages/* +## except build/, which is used as an MSBuild target. +!**/packages/build/ +## Uncomment if necessary however generally it will be regenerated when needed +##!**/packages/repositories.config +## NuGet v3's project.json files produces more ignorable files +*.nuget.props +*.nuget.targets + +## Backup & report files from converting an old project file +## to a newer Visual Studio version. Backup files are not needed, +## because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML +UpgradeLog*.htm + +# Optimizely specific: + +sdk/ +datafile.json \ No newline at end of file diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..45b32ba --- /dev/null +++ b/.travis.yml @@ -0,0 +1,9 @@ +os: windows +language: cpp +jobs: + include: + - stage: 'Building and running Net Framerwork console app' + cache: false + script: + - bash ./buildApp.sh + - travisIntegrationTesting/travisIntegrationTesting/bin/Debug/travisIntegrationTesting.exe \ No newline at end of file diff --git a/buildApp.sh b/buildApp.sh new file mode 100755 index 0000000..f3685f2 --- /dev/null +++ b/buildApp.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -ex + +cd ./travisIntegrationTesting +"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Msbuild.exe" ./travisIntegrationTesting/travisIntegrationTesting.csproj \ No newline at end of file diff --git a/travisIntegrationTesting/travisIntegrationTesting.sln b/travisIntegrationTesting/travisIntegrationTesting.sln new file mode 100644 index 0000000..2de7298 --- /dev/null +++ b/travisIntegrationTesting/travisIntegrationTesting.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.27130.2010 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "travisIntegrationTesting", "travisIntegrationTesting\travisIntegrationTesting.csproj", "{10F0DC1C-4436-4881-89CD-CA81B43E91E9}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {10F0DC1C-4436-4881-89CD-CA81B43E91E9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {10F0DC1C-4436-4881-89CD-CA81B43E91E9}.Debug|Any CPU.Build.0 = Debug|Any CPU + {10F0DC1C-4436-4881-89CD-CA81B43E91E9}.Release|Any CPU.ActiveCfg = Release|Any CPU + {10F0DC1C-4436-4881-89CD-CA81B43E91E9}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {169DFB85-72AF-444B-A7FC-5EE4E439ED3D} + EndGlobalSection +EndGlobal diff --git a/travisIntegrationTesting/travisIntegrationTesting/App.config b/travisIntegrationTesting/travisIntegrationTesting/App.config new file mode 100644 index 0000000..d1428ad --- /dev/null +++ b/travisIntegrationTesting/travisIntegrationTesting/App.config @@ -0,0 +1,6 @@ + + + + + + diff --git a/travisIntegrationTesting/travisIntegrationTesting/Program.cs b/travisIntegrationTesting/travisIntegrationTesting/Program.cs new file mode 100644 index 0000000..d2dff68 --- /dev/null +++ b/travisIntegrationTesting/travisIntegrationTesting/Program.cs @@ -0,0 +1,15 @@ +using System; + +namespace travisIntegrationTesting +{ + class Program + { + static void Main(string[] args) + { + for (int i = 0; i < 100; i++) + { + Console.WriteLine("App is running " + i); + } + } + } +} diff --git a/travisIntegrationTesting/travisIntegrationTesting/Properties/AssemblyInfo.cs b/travisIntegrationTesting/travisIntegrationTesting/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..69921e4 --- /dev/null +++ b/travisIntegrationTesting/travisIntegrationTesting/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("travisIntegrationTesting")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("travisIntegrationTesting")] +[assembly: AssemblyCopyright("Copyright © 2019")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("10f0dc1c-4436-4881-89cd-ca81b43e91e9")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/travisIntegrationTesting/travisIntegrationTesting/travisIntegrationTesting.csproj b/travisIntegrationTesting/travisIntegrationTesting/travisIntegrationTesting.csproj new file mode 100644 index 0000000..338b00a --- /dev/null +++ b/travisIntegrationTesting/travisIntegrationTesting/travisIntegrationTesting.csproj @@ -0,0 +1,53 @@ + + + + + Debug + AnyCPU + {10F0DC1C-4436-4881-89CD-CA81B43E91E9} + Exe + travisIntegrationTesting + travisIntegrationTesting + v4.5 + 512 + true + + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + \ No newline at end of file