forked from fls-bioinformatics-core/galaxy-tools
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
45 lines (41 loc) · 1.38 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
41
42
43
44
# Config file for Travis CI
language: python
python:
- "2.7"
# Attempt to split the tests into separate
# environments
env:
- TOOL=trimmomatic
- TOOL=pal_finder
- TOOL=weeder2
- TOOL=rnachipintegrator
- TOOL=macs21
- TOOL=ceas
before_install:
# Update the list of available packages
- sudo apt-get -qq update
# Java needed for Trimmomatic
- "sudo apt-get install java-common"
# Dependencies needed for Galaxy installer
- sudo apt-get install pwgen
- sudo apt-get install r-base
install:
# Get the installer scripts
- "git clone https://github.com/pjbriggs/bioinf-software-install.git"
# Install Samtools 0.1.18
- "wget http://sourceforge.net/projects/samtools/files/samtools/0.1.18/samtools-0.1.18.tar.bz2"
- "bioinf-software-install/install_samtools.sh samtools-0.1.18.tar.bz2 apps"
- "export PATH=$PATH:$PWD/apps/samtools/0.1.18/"
# Bootstrap Galaxy instance for tests
- "bioinf-software-install/install_galaxy.sh --repo https://github.com/galaxyproject/galaxy/ travis"
- ". travis/galaxy_venv/bin/activate"
# Update setuptools before installing planemo
# See https://github.com/galaxyproject/planemo/issues/520
- "pip install --upgrade pip setuptools"
# Install planemo to do the testing
- "pip install planemo"
script:
# Use the Galaxy virtualenv
- ". travis/galaxy_venv/bin/activate"
# Run tool tests
- "tools/$TOOL/run_planemo_tests.sh --galaxy_root travis/galaxy"