Use Travis CI build matrix

This commit is contained in:
Sterling Harper 2017-07-11 11:32:29 -04:00
parent 40ac8f71f1
commit b21b6e8331
2 changed files with 4 additions and 5 deletions

View file

@ -14,6 +14,9 @@ addons:
cache:
directories:
- $HOME/nndc_hdf5
env:
- OPENMC_CONFIG="^hdf5-debug$|^omp-hdf5-debug$"
- OPENMC_CONFIG="^mpi-hdf5-debug$|^phdf5-debug$"
before_install:
# ============== Handle Python third-party packages ==============

View file

@ -4,8 +4,4 @@ set -ev
# Run all debug tests
./check_source.py
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
./run_tests.py -C "^hdf5-debug$|^omp-hdf5-debug|^mpi-hdf5-debug|^phdf5-debug$" -j 2
else
./run_tests.py -C "^hdf5-debug$" -j 2
fi
./run_tests.py -C $OPENMC_CONFIG -j 2