Travis CI GAMMAPY_DATA
@@ -37,9 +37,7 @@ env:
- CONDA_CHANNELS='conda-forge sherpa'
- - FETCH_GAMMAPY_EXTRA=true
- - FETCH_GAMMA_CAT=true
- - FETCH_GAMMAPY_FERMI_LAT_DATA=true
+ - FETCH_GAMMAPY_DATA=true
- PACKAGING_TEST=false
- TEST_FERMIPY=false
@@ -80,9 +78,9 @@ matrix:
CONDA_DEPENDENCIES='Cython click regions pyyaml'
PIP_DEPENDENCIES=''
- # Run tests without GAMMAPY_EXTRA/GAMMA_CAT/GAMMAPY_FERMI_LAT_DATA available
+ # Run tests without GAMMAPY_DATA available
- os: linux
- env: FETCH_GAMMAPY_EXTRA=false FETCH_GAMMA_CAT=false FETCH_GAMMAPY_FERMI_LAT_DATA=false PYTHON_VERSION=3.7 SETUP_CMD='test -V'
+ env: FETCH_GAMMAPY_DATA=false PYTHON_VERSION=3.7 SETUP_CMD='test -V'
CONDA_DEPENDENCIES=$CONDA_DEPENDENCIES
# Build docs
@@ -160,20 +158,11 @@ install:
- git clone git://github.com/astropy/ci-helpers.git
- source ci-helpers/travis/setup_conda.sh
- - if $FETCH_GAMMAPY_EXTRA; then
+ - if $FETCH_GAMMAPY_DATA; then
git clone https://github.com/gammapy/gammapy-extra.git $HOME/gammapy-extra;
- export GAMMAPY_EXTRA=${HOME}/gammapy-extra;
+ export GAMMAPY_DATA=${HOME}/gammapy-extra/datasets;
fi
- - if $FETCH_GAMMA_CAT; then
- git clone https://github.com/gammapy/gamma-cat.git $HOME/gamma-cat;
- export GAMMA_CAT=${HOME}/gamma-cat;
- fi
-
- - if $FETCH_GAMMAPY_FERMI_LAT_DATA; then
- git clone https://github.com/gammapy/gammapy-fermi-lat-data.git $HOME/gammapy-fermi-lat-data;
- export GAMMAPY_FERMI_LAT_DATA=${HOME}/gammapy-fermi-lat-data;
- fi
# From https://conda.io/docs/bdist_conda.html
# bdist_conda must be installed into a root conda environment,
# as it imports conda and conda_build. It is included as part of the conda build package.
