From ed411fa944c711c3b080acb1ce79e960992d8f4d Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Thu, 19 Apr 2018 19:51:38 +0200 Subject: [PATCH] Travis CI. (#59) * Travis CI attempt #1 * It is scientifically impossible to get Travis right the first commit. --- .travis.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000000..f2ebb3518e --- /dev/null +++ b/.travis.yml @@ -0,0 +1,37 @@ +language: csharp + +dist: trusty +sudo: false + +os: +- linux +#- osx + +addons: + apt: + sources: + - deadsnakes + + packages: + - python3.6 + +cache: + directories: + - packages/ + - engine/Dependencies/ + - engine/SS14.Client.Godot/.mono/assemblies/ + +#before_install: +# - if [ $TRAVIS_OS_NAME = osx ]; then brew update && brew upgrade python; fi + +before_script: +- "if [ $TRAVIS_OS_NAME = linux ]; then pyenv shell 3.6; fi" +- "pip3 install --user requests" +- "nuget restore SpaceStation14Content.sln" +- "python3.6 RUN_THIS.py --no-prompt" +- "engine/Tools/download_godotsharp.py" + +script: +- "msbuild /p:Configuration=Debug /p:Platform=x64 /p:HEADLESS=1 /p:Configuratio=Debug /nologo /m /p:AllowMissingMacNatives=yes SpaceStation14Content.sln /p:Python=python3.6" + +