Use shared box.com link for NNDC HDF5 data in Travis runs

This commit is contained in:
Paul Romano 2016-07-13 08:24:47 -05:00
parent e19291118e
commit 436f88170d

View file

@ -13,6 +13,7 @@ cache:
- $HOME/mpich_install
- $HOME/hdf5_install
- $HOME/phdf5_install
- $HOME/nndc_hdf5
before_install:
# ============== Handle Python third-party packages ==============
@ -40,11 +41,12 @@ before_install:
install: true
before_script:
- if [[ ! -e $HOME/nndc_hdf5/cross_sections.xml ]]; then
wget https://anl.box.com/shared/static/b3373ozjaiarcndy1ikotm4yuawxomwa.xz -O - | tar -C $HOME -xvJ;
fi
- export OPENMC_CROSS_SECTIONS=$HOME/nndc_hdf5/cross_sections.xml
- cd data
- git clone --branch=master git://github.com/paulromano/nndc-hdf5
- cat nndc-hdf5/nndc_hdf5.tar.xz? | tar xJvf -
- rm -rf nndc-hdf5
- export OPENMC_CROSS_SECTIONS=$PWD/nndc_hdf5/cross_sections.xml
- git clone --branch=master git://github.com/smharper/windowed_multipole_library.git wmp_lib
- tar xzvf wmp_lib/multipole_lib.tar.gz
- export OPENMC_MULTIPOLE_LIBRARY=$PWD/multipole_lib