Skip to content

Commit 44ec8cc

Browse files
committed
Use explicit pip install to install PyJulia from test.pypi.org
This is better because: * We can make sure that the version installed in this environment is the one just uploaded (and fail if it cannot be found). See: https://travis-ci.org/JuliaPy/pyjulia/jobs/523283897#L448 * It doesn't rely on deprecated `indexserver` option. * Simpler.
1 parent 095ee69 commit 44ec8cc

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

ci/test-upload/tox.ini

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
11
[tox]
22
envlist = py
3-
indexserver =
4-
test = https://test.pypi.org/simple/
53
skipsdist = True
64

75
[testenv]
8-
pip_pre = true
96
deps =
10-
:test:julia
11-
127
# These are the packages listed in extras_require in setup.py.
138
# Not using `julia[test]` to avoid installing the test
149
# dependencies from `test.pypi.org`:
@@ -18,6 +13,8 @@ deps =
1813
mock
1914

2015
commands =
16+
pip install --index-url https://test.pypi.org/simple/ julia==0.4.1.dev
17+
2118
python -c "from julia import install; install()"
2219
python -m julia.runtests -- \
2320
--log-file {envlogdir}/pytest.log \

0 commit comments

Comments
 (0)