Use csharp Travis container config

pull/8/head
Netshroud 10 years ago
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:
- EnableNuGetPackageRestore=true
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
install:
- nuget restore DepotDownloader.sln
script:
- .ci/build.sh
- xbuild /p:NoWarn=1584 DepotDownloader.sln /target:DepotDownloader
notifications:
irc:
channels:
- "irc.gamesurge.net#opensteamworks"
on_success: always
on_failure: always
skip_join: true
irc:
channels:
- "irc.gamesurge.net#opensteamworks"
on_success: never
on_failure: always
cache:
directories:
- "~/.local/share/NuGet/Cache"
Loading…
Cancel
Save