Skip to content

Commit

Permalink
Update Travis to Bionic and Python 3.6 (space-syndicate#585)
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceManiac authored Feb 3, 2020
1 parent cf5c20d commit 8501cef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
17 changes: 5 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,15 @@
language: csharp

dist: trusty
language: generic
dist: bionic
sudo: false
mono: none
# dotnet: 3.1.100 # Travis is shitting itself right now and it can't locate .NET Core packages.

os:
- linux
#- osx

addons:
apt:
#sources:
#- deadsnakes

packages:
- python3.5
- python3
- python3-pip

cache:
Expand All @@ -30,9 +24,8 @@ 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"
- "python3.5 -m pip install --user requests"
- "python3.5 RUN_THIS.py --no-prompt"
- "python3.6 -m pip install --user requests"
- "python3.6 RUN_THIS.py --no-prompt"

script:
- "Tools/run_travis.sh"
Expand Down
2 changes: 1 addition & 1 deletion Tools/run_travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ set -e
# Travis is shitting itself. Wonderful.
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.IntegrationTests/Content.IntegrationTests.csproj

0 comments on commit 8501cef

Please sign in to comment.