-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy path.travis.yml
40 lines (36 loc) · 1.13 KB
/
.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
35
36
37
38
39
40
os:
- linux
# language: python sets up virtualenv and pip that we don't need.
# omitting language gives us ruby stuff. c seems likely to be a minimal setup.
language: c
install:
# Install dependencies for Conda
- printenv | sort
- |
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
MINICONDA_OS=Linux ;
else
MINICONDA_OS=MacOSX ;
fi ;
echo "Fetching miniconda for $MINICONDA_OS" ;
wget https://repo.continuum.io/miniconda/Miniconda3-latest-$MINICONDA_OS-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- source "$HOME"/miniconda/bin/activate root
- printenv | sort
- conda config --set always_yes yes --set changeps1 no
- conda config --add channels r
- conda config --add channels bioconda
- conda config --add channels conda-forge
- conda config --add channels grst
- conda update -q conda
- conda install snakemake
# Useful for debugging any issues with conda
- conda info -a
script:
# Run pipeline
- travis_wait 40 snakemake --use-conda book
# sudo = true gives a little bit more RAM
sudo: true
cache: packages