-
Notifications
You must be signed in to change notification settings - Fork 14
/
.travis.yml
34 lines (29 loc) · 962 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
language: r
dist: xenial
sudo: true
before_install:
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -b -p $HOME/miniconda
- 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 create -n myenv python=3.6 numpy scipy
- conda install pip
- $HOME/miniconda/envs/myenv/bin/pip install shap
#install:
# - sudo add-apt-repository -y ppa:jonathonf/python-3.6
# - sudo apt-get -y update
# - sudo apt-get install -y python3.6
# - sudo apt-get install -y python3-pip
# - sudo -H pip3 install --upgrade pip3==19.2.1
# - sudo apt-get install -y python3-setuptools
# - sudo pip3 install -y -U python3-numpy
# - sudo pip3 install -y -U python3-scipy
# - sudo pip3 install -y -U shap
r_packages:
- covr
- knitr
after_success:
- Rscript -e 'library(covr); codecov()'