1 Star 1 Fork 0

geek/Hangfire

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
.travis.yml 1.92 KB
Copy Edit Raw Blame History
Sergey Odinokov authored 2021-06-15 15:40 . Update .travis.yml
# Travis-CI Build for Hangfire
# see travis-ci.org for details
language: csharp
sudo: required
dist: xenial
services:
- docker
matrix:
include:
- dotnet: 3.1.100
mono: none
os: linux
- dotnet: 3.1.100
mono: none
os: osx
- mono: latest
os: linux
- mono: beta
os: osx
before_script:
- if hash docker 2>/dev/null;
then
echo "$DOCKER_PASSWORD" | docker login --username "$DOCKER_USERNAME" --password-stdin;
sudo docker run --name=mssql2017 -e 'ACCEPT_EULA=Y' -e 'MSSQL_SA_PASSWORD=Password12!' -p 1433:1433 -d microsoft/mssql-server-linux:2017-latest;
export Hangfire_SqlServer_ConnectionStringTemplate="Server=tcp:127.0.0.1,1433;Database={0};User Id=sa;Password=Password12!";
fi
script:
- if hash mono 2>/dev/null;
then
travis_retry nuget install .nuget/packages.config -OutputDirectory packages;
travis_retry nuget restore Hangfire.sln;
msbuild /p:Configuration=Release /verbosity:minimal Hangfire.sln;
mono ./packages/xunit.runner.console.2.2.0/tools/xunit.console.exe ./tests/Hangfire.Core.Tests/bin/Release/net452/Hangfire.Core.Tests.dll;
if hash docker 2>/dev/null;
then
mono ./packages/xunit.runner.console.2.2.0/tools/xunit.console.exe ./tests/Hangfire.SqlServer.Tests/bin/Release/net452/Hangfire.SqlServer.Tests.dll;
fi
else
set -e;
dotnet test -c Release -f netcoreapp3.1 tests/Hangfire.Core.Tests/Hangfire.Core.Tests.csproj;
if hash docker 2>/dev/null;
then
dotnet test -c Release -f netcoreapp3.1 tests/Hangfire.SqlServer.Tests/Hangfire.SqlServer.Tests.csproj;
fi
fi
notifications:
slack:
secure: LZuLPI1Cj9DgNAtFsZ/zk1fWBDS2PTHHIjvtCV3Fa9qNajzna2qR6Ui3sM/FQirvoXp0JHAqNYkFDI216YativqabWXZp6dQgw3u64bdlc1IWxQ4C6XHpp8WVe1wsNi19vfwKVHfvaNXpvNp9OGHXkmoTS74arRtPhpzSXO/IXw=
on_success: change
on_failure: always
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/hangfire/Hangfire.git
git@gitee.com:hangfire/Hangfire.git
hangfire
Hangfire
Hangfire
master

Search