-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
38 lines (33 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
# This is a special configuration file to run tests on Travis-CI via
# GitHub notifications when changes are committed.
#
# See http://travis-ci.org/ for details
# This file is heavily inspired by Peter Cock's efforts. See more details at
# http://blastedbio.blogspot.com/2013/09/using-travis-ci-for-testing-galaxy-tools.html
# We need Python 2.6 or 2.7 to run Galaxy but many Galaxy tools also need Java
# to run the simplest way to get that installed is to just start with "java".
# (which will still have a system python installed).
language: java
sudo: false
addons:
apt:
packages:
- python-virtualenv
- samtools
env:
- DOWNLOAD_CACHE=$HOME/download_cache
before_install:
- virtualenv planemo-venv
- . planemo-venv/bin/activate
- pip install --upgrade pip
- pip install planemo
- planemo travis_before_install
- . ${TRAVIS_BUILD_DIR}/.travis/env.sh # source environment created by planemo
- mkdir $DOWNLOAD_CACHE
install:
- git clone https://github.com/mdshw5/sra-tools-galaxy.git
- planemo dependency_script -r sra-tools-galaxy
- . env.sh
- bash dep_install.sh
script:
- planemo test --install_galaxy ${TRAVIS_BUILD_DIR}