Skip to content

Commit

Permalink
Try building with conda on Travis.
Browse files Browse the repository at this point in the history
  • Loading branch information
ketch committed Jan 11, 2017
1 parent 3b8ddc8 commit eab9ad3
Showing 1 changed file with 20 additions and 9 deletions.
29 changes: 20 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,26 @@ before_install:
- rm -rf pyclaw
- ln -s ../ pyclaw
install:
- export CLAWPACK=`pwd`
- bash ../.travis_build_stack.sh;
- export PATH=${CLAWPACK}/stack/bin:${PATH};
# it would be better to get coverage/python-coveralls into hashstack eventually, but this works
- easy_install pip
- pip install coverage
- pip install python-coveralls
- pip install h5py
- python setup.py install;
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
wget https://repo.continuum.io/miniconda/Miniconda2-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 --set show_channel_urls yes
- conda update -q conda
# Useful for debugging any issues with conda
- conda info -a
- conda install -c conda-forge mpich mpi4py
- conda install matplotlib nose coverage
- conda install -c mikaem/label/ubuntu1604-host-gcc h5py
- conda install -c conda-forge petsc4py
- conda install -c conda-forge scipy=0.17.1
- conda install -c conda-forge python-coveralls
- python -c "import scipy; print(scipy.__version__)"
- python setup.py install

script:
- cd pyclaw/src/pyclaw
Expand Down

0 comments on commit eab9ad3

Please sign in to comment.