Use csharp Travis container config
parent
c0b4dd03ee
commit
1a8a892a67
@ -1,10 +0,0 @@
|
|||||||
#!/bin/bash -x
|
|
||||||
|
|
||||||
function ExitIfNonZero {
|
|
||||||
if [ $1 -ne 0 ]; then
|
|
||||||
exit $1
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
xbuild /p:NoWarn=1584 DepotDownloader.sln /target:DepotDownloader
|
|
||||||
ExitIfNonZero $?
|
|
@ -1,11 +0,0 @@
|
|||||||
#!/bin/bash -x
|
|
||||||
|
|
||||||
# Try 10 times
|
|
||||||
for iter in {1..10}
|
|
||||||
do
|
|
||||||
("$@")
|
|
||||||
if [[ $? -eq 0 ]]
|
|
||||||
then
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
done
|
|
@ -1,23 +1,20 @@
|
|||||||
language: c
|
sudo: false
|
||||||
|
language: csharp
|
||||||
|
solution: DepotDownloader.sln
|
||||||
|
|
||||||
env:
|
install:
|
||||||
- EnableNuGetPackageRestore=true
|
- nuget restore DepotDownloader.sln
|
||||||
|
|
||||||
before_install:
|
|
||||||
# Make sure mono is installed,
|
|
||||||
# pipe stdout to dev/null because qq is still too chatty
|
|
||||||
- sudo apt-get update -qq > /dev/null
|
|
||||||
- sudo apt-get install -qq mono-devel > /dev/null
|
|
||||||
# update root certs for nuget
|
|
||||||
- mozroots --import --sync
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- .ci/build.sh
|
- xbuild /p:NoWarn=1584 DepotDownloader.sln /target:DepotDownloader
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
irc:
|
irc:
|
||||||
channels:
|
channels:
|
||||||
- "irc.gamesurge.net#opensteamworks"
|
- "irc.gamesurge.net#opensteamworks"
|
||||||
on_success: always
|
on_success: never
|
||||||
on_failure: always
|
on_failure: always
|
||||||
skip_join: true
|
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- "~/.local/share/NuGet/Cache"
|
Loading…
Reference in New Issue