Skip to content

Commit 91de79b

Browse files
committed
Test with conda-forge IPython first
1 parent 7868a0e commit 91de79b

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,14 @@ script:
4242
IPython.install_dependency("ipython-pre"; force=true)';
4343
fi
4444

45+
# Test that IPython.install_dependency("ipython-dev") works:
46+
- if [ "$CONDA_JL_VERSION" = 3 ]; then
47+
julia --color=yes -e '
48+
using IPython;
49+
IPython.install_dependency("ipython-dev"; force=true)';
50+
julia --color=yes -e 'VERSION >= v"0.7-" && using Pkg; Pkg.test("IPython")';
51+
fi
52+
4553
after_success:
4654
# push coverage results to Coveralls
4755
- julia --color=yes -e 'cd(Pkg.dir("IPython")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'

ci/before_script.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@ end
2727

2828
IPython.install_dependency("pytest"; force=true)
2929
IPython.install_dependency("ipython"; force=true)
30-
if get(ENV, "CONDA_JL_VERSION", "") != "2"
31-
# Use regular IPython when 7.0 is out.
32-
IPython.install_dependency("ipython-dev"; force=true)
33-
end
3430
if get(ENV, "CONDA_JL_VERSION", "") == "2"
3531
# For IPython.testing.globalipapp
3632
IPython.install_dependency("mock"; force=true)

0 commit comments

Comments
 (0)