FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
pythonnet/.travis.yml at python3.9 · sdpython/pythonnet · GitHub
This repository was archived by the owner on Jul 22, 2023. It is now read-only.
sdpython
pythonnet
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
pythonnet
/
.travis.yml
Copy path
More file actions
More file actions
Latest commit
History
History
History
59 lines (51 loc) · 2.52 KB
Breadcrumbs
pythonnet
/
.travis.yml
Copy path
File metadata and controls
59 lines (51 loc) · 2.52 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
dist
:
xenial
sudo
:
false
language
:
python
python
:
-
3.9
-
3.8
-
3.7
-
3.6
env
:
matrix
:
-
BUILD_OPTS=--xplat NUNIT_PATH="~/.nuget/packages/nunit.consolerunner/3.*/tools/nunit3-console.exe" RUN_TESTS=dotnet EMBED_TESTS_PATH=netcoreapp3.1_publish/ PERF_TESTS_PATH=net461/
-
BUILD_OPTS="" NUNIT_PATH="./packages/NUnit.*/tools/nunit3-console.exe" RUN_TESTS="mono $NUNIT_PATH" EMBED_TESTS_PATH="" PERF_TESTS_PATH=""
-
PYTHONNET_SHUTDOWN_MODE="Soft" BUILD_OPTS=--xplat NUNIT_PATH="~/.nuget/packages/nunit.consolerunner/3.*/tools/nunit3-console.exe" RUN_TESTS=dotnet EMBED_TESTS_PATH=netcoreapp3.1_publish/ PERF_TESTS_PATH=net461/
-
PYTHONNET_SHUTDOWN_MODE="Soft" BUILD_OPTS="" NUNIT_PATH="./packages/NUnit.*/tools/nunit3-console.exe" RUN_TESTS="mono $NUNIT_PATH" EMBED_TESTS_PATH="" PERF_TESTS_PATH=""
global
:
-
LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so
-
SEGFAULT_SIGNALS=all
-
PYTHONUNBUFFERED=True
-
CODECOV_ENV=TRAVIS_PYTHON_VERSION
addons
:
apt
:
sources
:
-
sourceline
:
deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial main
key_url
:
https://packages.microsoft.com/keys/microsoft.asc
-
sourceline
:
deb http://download.mono-project.com/repo/ubuntu stable-xenial/snapshots/5.20 main
key_url
:
http://keyserver.ubuntu.com/pks/lookup?op=get&search=0xA6A19B38D3D831EF
packages
:
-
mono-devel
-
ca-certificates-mono
-
dotnet-sdk-3.1
before_install
:
#
Set-up dll path for embedded tests
-
PY_LIBDIR=$(python -c 'import sysconfig; print(sysconfig.get_config_var("LIBDIR"))')
-
export LD_LIBRARY_PATH=$PY_LIBDIR:$LD_LIBRARY_PATH
install
:
-
pip install --upgrade setuptools
#
TEMP - due to setuptools 36.2.0 bug
-
pip install --upgrade -r requirements.txt
-
coverage run setup.py install $BUILD_OPTS
script
:
-
python -m pytest
-
$RUN_TESTS src/embed_tests/bin/$EMBED_TESTS_PATH/Python.EmbeddingTest.dll --labels=All
#
does not work on Linux, because NuGet package for 2.3 is Windows only
#
- "if [[ $TRAVIS_PYTHON_VERSION == '3.5' && $PERF_TESTS_PATH != '' ]]; then mono $NUNIT_PATH src/perf_tests/bin/$PERF_TESTS_PATH/Python.PerformanceTests.dll; fi"
after_script
:
#
Waiting on mono-coverage, SharpCover or xr.Baboon
-
coverage xml -i
-
codecov --file coverage.xml --flags setup_linux
notifications
:
email
:
false
slack
:
secure
:
"
UiQdSK1/uNnHl8/gQgfLj/F5JGxtJuaT3QYtKNcw3Ddpr3FX8tfXJ/RjsCsSlRQzDm7AdBAeMzcBQmvH4iRIV2y7qVywLyru5MPiwY4ZjMN6fJK/zaaxetOct9fasIBYzHguNPDAtiBGFh2iK1H1MXTY8rkmU3WZvl18b8EsrP0=
"
Back
|
FazBrowse Home
|
New Git URL