Skip to content
This repository was archived by the owner on Jan 9, 2023. It is now read-only.

Fix ROOT builds on Travis CI #77

Merged
merged 8 commits into from
Nov 13, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 12 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,9 @@ language: python

matrix:
include:
- python: 2.7
env: PYTHON=2.7 ROOT=5.34.32
- python: 2.7
env: PYTHON=2.7 ROOT=6.04
- python: 3.4
env: PYTHON=3.4 ROOT=5.34.32
- python: 3.4
env: PYTHON=3.4 ROOT=6.04
- env: PYTHON=2.7
- env: PYTHON=3.6
- env: PYTHON=3.7

install:
- if [ "${TRAVIS_OS_NAME}" == "osx" ]; then curl --silent http://repo.continuum.io/miniconda/Miniconda-latest-MacOSX-x86_64.sh
Expand All @@ -20,14 +15,17 @@ install:
- 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 config --add channels http://conda.anaconda.org/NLeSC
- conda config --set show_channel_urls yes
- conda create -q -n testenv python=${PYTHON} root=${ROOT} pandas nose
- conda config --add channels conda-forge/label/gcc7
- conda config --add channels chrisburr
- conda create -q -n testenv python=${PYTHON} nomkl root pandas nose
- export CONDA_ENV_PATH=$HOME/miniconda/envs/testenv
- source activate testenv
- pip install --user --no-binary=root_numpy root_numpy==4.4.1 rootpy
- if [ "${PYTHON}" == "3.7" ]; then
pip install git+https://github.com/scikit-hep/root_numpy.git;
else
pip install root_numpy;
fi
- pip install root_numpy rootpy
- pip install coverage coveralls

script: nosetests --with-coverage --cover-package=root_pandas
Expand Down