mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
Update Travis to Bionic and Python 3.6 (#947)
* Update Travis to Python 3.6 * Let's try bionic * It's just python3 on bionic * apt update * Maybe this * Use generic build image * >defaults to Ruby
This commit is contained in:
21
.travis.yml
21
.travis.yml
@@ -1,9 +1,6 @@
|
||||
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
|
||||
@@ -11,11 +8,9 @@ os:
|
||||
|
||||
addons:
|
||||
apt:
|
||||
#sources:
|
||||
#- deadsnakes
|
||||
|
||||
update: true
|
||||
packages:
|
||||
- python3.5
|
||||
- python3
|
||||
- python3-pip
|
||||
|
||||
cache:
|
||||
@@ -31,12 +26,8 @@ install:
|
||||
# - if [ $TRAVIS_OS_NAME = osx ]; then brew update && brew upgrade python; fi
|
||||
|
||||
before_script:
|
||||
#- "pyenv versions"
|
||||
#- "if [ $TRAVIS_OS_NAME = linux ]; then pyenv shell 3.6; fi"
|
||||
#- "python3.6 -m pip --v"
|
||||
#- "python3.6 -m pip install --user --upgrade requests"
|
||||
- "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"
|
||||
|
||||
@@ -6,5 +6,5 @@ set -e
|
||||
# Travis is shitting itself. Wonderful.
|
||||
PATH="~/.dotnet:$PATH"
|
||||
|
||||
dotnet build RobustToolbox.sln /p:Python=python3.5
|
||||
dotnet build RobustToolbox.sln /p:Python=python3.6
|
||||
dotnet test Robust.UnitTesting/Robust.UnitTesting.csproj
|
||||
|
||||
Reference in New Issue
Block a user