File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11language : csharp
2- sudo : required
3- dotnet : 2.0.0
2+ mono : none
3+ dotnet : 2.1.402
4+ os : linux
5+
6+ before_install :
7+ - curl -sL https://github.com/annymsMthd/gogitver/releases/download/0.5.1/linux.tar.gz | tar zx
48
59script :
6- - dotnet build src/JunitTestLogger
7- - " if [[ $TRAVIS_PULL_REQUEST == 'false' && $TRAVIS_TAG ]]; then
8- dotnet pack src/JunitTestLogger --configuration Release /p:Version=$TRAVIS_TAG;
9- sudo nuget update -self;
10- sudo nuget push src/JunitTestLogger/bin/Release/*.nupkg -Source https://www.nuget.org -ApiKey $API_KEY;
11- fi"
10+ - dotnet restore || travis_terminate 1
11+ - dotnet pack --no-restore src/JUnitTestLogger --configuration Release /p:Version=$(./gogitver) || travis_terminate 1;
12+ - dotnet nuget push src/JUnitTestLogger/bin/Release/*.nupkg -s https://www.nuget.org/api/v2/package -k $NUGET_API_KEY || travis_terminate 1;
You can’t perform that action at this time.
0 commit comments