Skip to content

Commit

Permalink
Install R packages only via conda
Browse files Browse the repository at this point in the history
  • Loading branch information
JarnoRFB committed Jul 11, 2019
1 parent a12f396 commit fc2d0bd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Expand Up @@ -27,19 +27,18 @@ before_install:
conda config --set always_yes yes --set changeps1 no;
conda update -q conda;
conda info -a;
conda create -q -n test-environment python=3.7 r-essentials rpy2;
conda create -q -n test-environment python=3.7 r-base=3.5 r-gamlss r-gridbase r-mglm r-msm r-surveillance rpy2;
fi

install:
- export PATH="$HOME/miniconda/bin:$PATH"
# Useful for debugging any issues with conda
- conda info -a
- source activate test-environment
- R < packages.R --no-save
- pip install -r requirements-dev.txt

script:
# - PYTHONPATH=. pytest --mypy -m mypy tests/
- PYTHONPATH=. pytest --mypy -m mypy tests/
- PYTHONPATH=. pytest --cov=epysurv tests/

after_success:
Expand Down

0 comments on commit fc2d0bd

Please sign in to comment.