Update Travis to Bionic and Python 3.6 (#585)

This commit is contained in:
Tad Hardesty
2020-02-03 10:05:20 -08:00
committed by GitHub
parent cf5c20dee4
commit 8501cefdac
2 changed files with 6 additions and 13 deletions

View File

@@ -1,9 +1,6 @@
language: csharp language: generic
dist: bionic
dist: trusty
sudo: false sudo: false
mono: none
# dotnet: 3.1.100 # Travis is shitting itself right now and it can't locate .NET Core packages.
os: os:
- linux - linux
@@ -11,11 +8,8 @@ os:
addons: addons:
apt: apt:
#sources:
#- deadsnakes
packages: packages:
- python3.5 - python3
- python3-pip - python3-pip
cache: cache:
@@ -30,9 +24,8 @@ install:
# - if [ $TRAVIS_OS_NAME = osx ]; then brew update && brew upgrade python; fi # - if [ $TRAVIS_OS_NAME = osx ]; then brew update && brew upgrade python; fi
before_script: before_script:
#- "if [ $TRAVIS_OS_NAME = linux ]; then pyenv shell 3.6; fi" - "python3.6 -m pip install --user requests"
- "python3.5 -m pip install --user requests" - "python3.6 RUN_THIS.py --no-prompt"
- "python3.5 RUN_THIS.py --no-prompt"
script: script:
- "Tools/run_travis.sh" - "Tools/run_travis.sh"

View File

@@ -6,6 +6,6 @@ set -e
# Travis is shitting itself. Wonderful. # Travis is shitting itself. Wonderful.
PATH="~/.dotnet:$PATH" PATH="~/.dotnet:$PATH"
dotnet build SpaceStation14.sln /p:Python=python3.5 dotnet build SpaceStation14.sln /p:Python=python3.6
dotnet test Content.Tests/Content.Tests.csproj dotnet test Content.Tests/Content.Tests.csproj
dotnet test Content.IntegrationTests/Content.IntegrationTests.csproj dotnet test Content.IntegrationTests/Content.IntegrationTests.csproj