From da5c4693fe843917d37dfbf2222cfd1b331ef128 Mon Sep 17 00:00:00 2001 From: Jo Bovy Date: Tue, 19 Nov 2019 16:37:18 -0500 Subject: [PATCH] Install pynbody dependencies with conda --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index d47ce15a8..3e44f1268 100644 --- a/.travis.yml +++ b/.travis.yml @@ -65,6 +65,8 @@ install: - if [[ $TRAVIS_PYTHON_VERSION == $PYTHON_COVREPORTS_VERSION ]]; then gem install coveralls-lcov; fi - if [[ $TRAVIS_PYTHON_VERSION == $PYTHON_COVREPORTS_VERSION ]]; then easy_install --upgrade requests; fi - if [[ $TRAVIS_PYTHON_VERSION == $PYTHON_COVREPORTS_VERSION ]]; then easy_install --upgrade coveralls; fi +# pynbody, install deps with conda as much as possible + - if $REQUIRES_PYNBODY; then conda install h5py pandas pytz; fi - if $REQUIRES_PYNBODY; then pip install git+git://github.com/pynbody/pynbody.git; fi # clone my version of the torus code, don't do this for one test, to make sure the code installs without the torus code - if [[ $TEST_FILES != 'tests/test_evolveddiskdf.py tests/test_jeans.py' ]]; then git clone https://github.com/jobovy/Torus.git galpy/actionAngle/actionAngleTorus_c_ext/torus; fi