diff BC/travis-tests @ 3:2e3a23dd6c24 draft default tip

Uploaded
author melpetera
date Thu, 28 Feb 2019 05:12:34 -0500
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/BC/travis-tests	Thu Feb 28 05:12:34 2019 -0500
@@ -0,0 +1,22 @@
+#!/bin/bash
+
+set -ev
+
+# Plain tests
+if [[ -z $PLANEMO ]] ; then
+
+	sudo sed -i -e '$adeb http://cran.univ-paris1.fr/bin/linux/ubuntu trusty/' /etc/apt/sources.list
+	sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9
+	sudo apt-get update
+	sudo apt-get install -y --no-install-recommends r-base
+	sudo R -e "install.packages(c('batch', 'ade4', 'RUnit'), dependencies = TRUE, repos = 'https://cloud.r-project.org/')"
+	sudo R -e 'source("http://bioconductor.org/biocLite.R") ; biocLite(c("pcamethods", "ropls"))'
+	make test
+
+# Planemo tests
+else
+	sudo apt-get update
+	sudo apt-get install -y python-virtualenv
+	make planemolint
+	make planemotest
+fi