From 7c21c7376fe66bd76743afb1de846a76227ccf25 Mon Sep 17 00:00:00 2001 From: Jo Bovy Date: Wed, 19 Jul 2017 16:23:35 -0400 Subject: [PATCH] Test one more possible way in which a configuration file could be outdated --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index de2d49c5e..30174aeeb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -75,6 +75,7 @@ install: - python setup.py develop --single_ext # Following tests that we can start from an incomplete configuration file - if [[ $TEST_FILES == 'tests/test_evolveddiskdf.py' ]]; then echo -e '[normalization]' > $HOME/.galpyrc && echo -e 'ro = 8.' >> $HOME/.galpyrc; fi + - if [[ $TEST_FILES == 'tests/test_diskdf.py' ]]; then echo -e '[normalization]' > $HOME/.galpyrc && echo -e 'ro = 8.' >> $HOME/.galpyrc && echo -e '[astropy]' >> $HOME/.galpyrc && echo -e 'astropy-units = False' >> $HOME/.galpyrc && echo -e '[plot]' >> $HOME/.galpyrc && echo -e 'seaborn-bovy-defaults = True' >> $HOME/.galpyrc; fi script: # only wait longer for orbit integrations - if [[ $TEST_FILES == 'tests/test_orbit.py' ]]; then travis_wait 40 pytest -v $TEST_FILES --cov galpy --cov-config .coveragerc_travis --disable-pytest-warnings; else pytest -v $TEST_FILES --cov galpy --cov-config .coveragerc_travis --disable-pytest-warnings; fi