Skip to content

Commit df59d0f

Browse files
committed
Clean-up CI configs
1 parent d77f933 commit df59d0f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ addons:
3030
- ca-certificates-mono
3131

3232
before_install:
33+
# Set-up location where `Python.Test.dll` will be output
34+
- export PYTHONPATH=`pwd`:$PYTHONPATH
35+
3336
# Set-up dll path for embedded tests
3437
- PY_LIBDIR=$(python -c 'import sysconfig; print(sysconfig.get_config_var("LIBDIR"))')
3538
- export LD_LIBRARY_PATH=$PY_LIBDIR:$LD_LIBRARY_PATH
@@ -40,15 +43,12 @@ install:
4043
- coverage run setup.py build_ext --inplace
4144

4245
script:
43-
# Set-up and run python tests
44-
- export PYTHONPATH=`pwd`:$PYTHONPATH
4546
- python -m pytest
4647

47-
- cp Python.Runtime.dll.config src/embed_tests/bin/Python.Runtime.dll.config
48-
# Run embedded tests
48+
- cp Python.Runtime.dll.config src/embed_tests/bin/
4949
# - mono ./packages/NUnit.*/tools/nunit3-console.exe src/embed_tests/bin/Python.EmbeddingTest.dll
5050

51-
after_success:
51+
after_script:
5252
# Uncomment if need to geninterop, ie. py37 final
5353
# - python tools/geninterop/geninterop.py
5454

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ build_script:
4444

4545
test_script:
4646
- pip install --no-index --find-links=.\dist\ pythonnet
47-
- ps: Copy-Item (Resolve-Path .\build\*\Python.Test.dll) C:\testdir
47+
- ps: Copy-Item .\src\testing\bin\Python.Test.dll C:\testdir\
4848

4949
- ps: .\ci\appveyor_run_tests.ps1
5050
- ps: .\ci\appveyor_build_recipe.ps1

0 commit comments

Comments
 (0)