forked from galaxyproject/galaxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
54 lines (49 loc) · 1.19 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
45
46
47
48
49
50
51
52
53
54
sudo: false
language: python
python: 2.7
os:
- linux
env:
- TOX_ENV=py34-lint
- TOX_ENV=py27-lint
- TOX_ENV=py27-unit
- TOX_ENV=qunit
- TOX_ENV=py27-first_startup
- TOX_ENV=py27-lint_docstring_include_list
- TOX_ENV=check_python_dependencies
matrix:
include:
- env: TOX_ENV=py34-first_startup
addons:
&py3_addons
apt:
packages:
# For psutil, pyyaml, uwsgi...
- libpython3.4-dev
- env: TOX_ENV=validate_test_tools
addons:
apt:
packages:
- libxml2-utils
- env: TOX_ENV=check_py3_compatibility
addons:
apt:
packages:
- ack-grep
- env: TOX_ENV=py34-unit
addons: *py3_addons
allow_failures:
- env: TOX_ENV=check_python_dependencies
install:
- set -e
- pip install tox
- |
if [ "$TOX_ENV" == "py27-first_startup" ]; then
sh scripts/common_startup.sh
wget -q https://github.com/jmchilton/galaxy-downloads/raw/master/db_gx_rev_0127.sqlite
mv db_gx_rev_0127.sqlite database/universe.sqlite
sh manage_db.sh -c ./config/galaxy.yml.sample upgrade
fi
script: tox -e $TOX_ENV
notifications:
email: false