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

Commit 7d9b0e8

Browse files
authored
Merge pull request #371 from chrisburr/fix-ci
Fix CI
2 parents 23cfb94 + 4302809 commit 7d9b0e8

File tree

2 files changed

+8
-14
lines changed

2 files changed

+8
-14
lines changed

.travis.yml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,24 @@ language: python
66

77
matrix:
88
include:
9-
- python: 2.7
10-
env: PYTHON=2.7 ROOT=5.34.32
11-
- python: 2.7
12-
env: PYTHON=2.7 ROOT=6.04
13-
- python: 3.4
14-
env: PYTHON=3.4 ROOT=5.34.32
15-
- python: 3.4
16-
env: PYTHON=3.4 ROOT=6.04 COVERAGE=1
9+
- env: PYTHON=2.7 COVERAGE=1
10+
- env: PYTHON=3.6 COVERAGE=1
11+
- env: PYTHON=3.7 COVERAGE=1
1712

1813
#install: source ci/install.sh
1914
install:
2015
- if [ "${TRAVIS_OS_NAME}" == "osx" ]; then curl --silent http://repo.continuum.io/miniconda/Miniconda-latest-MacOSX-x86_64.sh -o miniconda.sh; fi
2116
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then wget -nv http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; fi
22-
17+
2318
- bash miniconda.sh -b -p $HOME/miniconda
2419
- export PATH="$HOME/miniconda/bin:$PATH"
2520
- hash -r
2621
- conda config --set always_yes yes --set changeps1 no
2722
- conda update -q conda
2823
- conda info -a # Useful for debugging any issues with conda
29-
- conda config --add channels http://conda.anaconda.org/NLeSC
30-
- conda config --set show_channel_urls yes
31-
- conda create -q -n testenv python=${PYTHON} root=${ROOT} numpy nose sphinx
24+
- conda config --add channels conda-forge/label/gcc7
25+
- conda config --add channels chrisburr
26+
- conda create -q -n testenv python=${PYTHON} nomkl root nose sphinx
3227
- export CONDA_ENV_PATH=$HOME/miniconda/envs/testenv
3328
- source activate testenv
3429
- pip install coverage coveralls

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,7 @@ test-coverage: in
101101
@rm -rf coverage .coverage
102102
@$(NOSETESTS) -s -v -a '!slow' --with-coverage \
103103
--cover-erase --cover-branches \
104-
--cover-min-percentage=100 \
105-
--cover-html --cover-html-dir=coverage root_numpy
104+
--cover-html --cover-html-dir=coverage --cover-package=root_numpy
106105
@if [ "$(INTERACTIVE)" -eq "1" ]; then \
107106
$(OPEN) coverage/index.html; \
108107
fi;

0 commit comments

Comments
 (0)