File tree 1 file changed +13
-7
lines changed
1 file changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -4,13 +4,19 @@ python:
4
4
notifications :
5
5
email : false
6
6
before_install :
7
- - codename=$(lsb_release -c -s)
8
- - echo "deb http://cran.fhcrc.org/bin/linux/ubuntu $codename/" | sudo tee -a /etc/apt/sources.list > /dev/null
9
- - sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9
10
- - sudo add-apt-repository -y ppa:marutter/rdev
11
- - sudo apt-get update -y
12
- - sudo apt-get -y install r-base r-base-dev
13
- - sudo R --no-save < setup.R
7
+ install :
8
+ - sudo apt-get update
9
+ # We do this conditionally because it saves us some downloading if the
10
+ # version is the same.
11
+ - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
12
+ - bash miniconda.sh -b -p $HOME/miniconda
13
+ - export PATH="$HOME/miniconda/bin:$PATH"
14
+ - hash -r
15
+ - conda config --set always_yes yes --set changeps1 no
16
+ - conda update -q conda
17
+ # Useful for debugging any issues with conda
18
+ - conda info -a
19
+ - conda install r-essentials pip
14
20
install : " pip install -r requirements.txt"
15
21
script : make travis
16
22
addons :
You can’t perform that action at this time.
0 commit comments