-
Notifications
You must be signed in to change notification settings - Fork 456
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
546 changed files
with
33,074 additions
and
228,814 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
sudo: false | ||
language: python | ||
python: | ||
- "2.7" | ||
- "3.4" | ||
addons: | ||
apt: | ||
packages: | ||
- gfortran | ||
- g++ | ||
cache: | ||
directories: | ||
- $HOME/mpich_install | ||
- $HOME/hdf5_install | ||
- $HOME/phdf5_install | ||
|
||
before_install: | ||
# ============== Handle Python third-party packages ============== | ||
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then | ||
wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh; | ||
else | ||
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; | ||
fi | ||
- bash miniconda.sh -b -p $HOME/miniconda | ||
- export PATH="$HOME/miniconda/bin:$PATH" | ||
- hash -r | ||
- conda config --set always_yes yes --set changeps1 no | ||
- conda update -q conda | ||
- conda info -a | ||
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION numpy scipy h5py | ||
- source activate test-environment | ||
|
||
# Install GCC, MPICH, HDF5, PHDF5 | ||
- ./tests/travis_install.sh | ||
- export FC=gfortran | ||
- export MPI_DIR=$HOME/mpich_install | ||
- export PHDF5_DIR=$HOME/phdf5_install | ||
- export HDF5_DIR=$HOME/hdf5_install | ||
|
||
install: true | ||
|
||
before_script: | ||
- cd data | ||
- git clone --branch=master git://github.com/bhermanmit/nndc_xs nndc_xs | ||
- cat nndc_xs/nndc.tar.gza* | tar xzvf - | ||
- rm -rf nndc_xs | ||
- export CROSS_SECTIONS=$PWD/nndc/cross_sections.xml | ||
- cd .. | ||
|
||
script: | ||
- cd tests | ||
- export OMP_NUM_THREADS=3 | ||
- ./travis.sh | ||
- cd .. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
Oops, something went wrong.