Travis testing attempt 4.1

pull/95/head
kaguillera 2020-04-30 17:21:45 -04:00
parent 02d042448d
commit 640e6e58b3
1 changed files with 9 additions and 13 deletions

View File

@ -1,24 +1,17 @@
services:
- mysql
language: python
python:
- "3.7"
before_script:
# Install Packrat
- snakemake packrat_install
- snakemake packrat_init
- snakemake packrat_restore
# - R -e 'install.packages(c( "rmarkdown"), repos = "http://cran.us.r-project.org")'
before_install:
- sudo apt-get install -y r-base
- sudo apt-get install r-base-dev
- sudo chmod ugo+rw /usr/local/lib/R/site-library
- R -e 'install.packages(c( "rmarkdown"), repos = "http://cran.us.r-project.org")'
# r_binary_packages:
# - rmarkdown
install:
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -b -p $HOME/miniconda
- source "$HOME/miniconda/etc/profile.d/conda.sh"
@ -31,8 +24,11 @@ install:
- conda env create -q -n test-environment python=$TRAVIS_PYTHON_VERSION --file environment.yml
- conda activate test-environment
services:
- mysql
before_script:
# Install Packrat
- snakemake packrat_install
- snakemake packrat_init
- snakemake packrat_restore
script:
- cp -r tests/data/raw/* data/raw