Skip to content

Commit c31577e

Browse files
committed
try using conda instead
1 parent 4667ddc commit c31577e

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

.travis.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,19 @@ python:
44
notifications:
55
email: false
66
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
1420
install: "pip install -r requirements.txt"
1521
script: make travis
1622
addons:

0 commit comments

Comments
 (0)