Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix R environment at Travis (#230)
* updated codecov.io link

* really run R tests with reticulate instead of stubbing them
  • Loading branch information
StrikerRUS committed Aug 23, 2018
1 parent f47000c commit 597e3dd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
10 changes: 8 additions & 2 deletions .travis.yml
Expand Up @@ -43,8 +43,14 @@ before_install:
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda

- conda create -q -n test-environment python=$PYTHON_VERSION numpy scipy nose pandas scikit-learn pytest
- source activate test-environment
- if [[ $TASK == "R_PACKAGE" ]]; then
conda create -q -n test-environment python=$PYTHON_VERSION pip openssl --no-deps;
source activate test-environment;
pip install setuptools wheel numpy scipy nose pandas scikit-learn pytest;
else
conda create -q -n test-environment python=$PYTHON_VERSION numpy scipy nose pandas scikit-learn pytest;
source activate test-environment;
fi

- RGF_VER=$(head -n 1 python-package/rgf/VERSION)

Expand Down
2 changes: 0 additions & 2 deletions R-package/.R.travis.sh
Expand Up @@ -7,8 +7,6 @@ export PATH="$R_LIB_PATH/R/bin:$PATH"

sudo apt-get install gfortran-5
sudo update-alternatives --install /usr/bin/gfortran gfortran /usr/bin/gfortran-5 10
# use system-wide libraries (fix error "symbol _ZTINSt8ios_base7failureB5cxx11E, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference")
conda remove --force libgfortran-ng libgcc-ng libstdcxx-ng

# install packages to build and check documentation
conda install --no-deps pandoc
Expand Down
6 changes: 3 additions & 3 deletions R-package/README.md
@@ -1,6 +1,6 @@
[![CRAN_Status_Badge](https://r-pkg.org/badges/version/RGF)](https://cran.r-project.org/package=RGF)
[![codecov.io](https://codecov.io/github/mlampros/RGF/coverage.svg?branch=master)](https://codecov.io/github/mlampros/RGF?branch=master)
[![Downloads](https://cranlogs.r-pkg.org/badges/grand-total/RGF?color=blue)](https://cran.r-project.org/package=RGF)
[![CRAN Version](https://r-pkg.org/badges/version/RGF)](https://cran.r-project.org/package=RGF)
[![codecov.io](https://codecov.io/github/RGF-team/rgf/coverage.svg?branch=master)](https://codecov.io/github/RGF-team/rgf?branch=master)
[![CRAN Downloads](https://cranlogs.r-pkg.org/badges/grand-total/RGF?color=blue)](https://cran.r-project.org/package=RGF)


## RGF (Regularized Greedy Forest)
Expand Down

0 comments on commit 597e3dd

Please sign in to comment.