#!/bin/bash
set -ex

# Install NJOY 2016
./tools/ci/travis-install-njoy.sh

# Running OpenMC's setup.py requires numpy/cython already
pip install numpy cython

# pytest installed by default -- make sure we get latest
pip install --upgrade pytest

# Pandas stopped supporting Python 3.4 with version 0.21
if [[ "$TRAVIS_PYTHON_VERSION" == "3.4" ]]; then
    pip install pandas==0.20.3
fi

# Build and install OpenMC executable
python tools/ci/travis-install.py

# Install Python API in editable mode
pip install -e .[test]

# For uploading to coveralls
pip install python-coveralls

#!/bin/bash
set -ex

# Install NJOY 2016
./tools/ci/travis-install-njoy.sh

# Running OpenMC's setup.py requires numpy/cython already. NumPy float
# formatting changed in version 1.14, so stick with a lower version until we can
# handle it in our test suite
pip install 'numpy<1.14'
pip install cython

# pytest installed by default -- make sure we get latest
pip install --upgrade pytest

# Pandas stopped supporting Python 3.4 with version 0.21
if [[ "$TRAVIS_PYTHON_VERSION" == "3.4" ]]; then
    pip install pandas==0.20.3
fi

# Build and install OpenMC executable
python tools/ci/travis-install.py

# Install Python API in editable mode
pip install -e .[test]

# For uploading to coveralls
pip install python-coveralls

Use numpy 1.13 when testing since float formatting changed in 1.14
Use numpy 1.13 when testing since float formatting changed in 1.14
