mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-29 17:42:12 +08:00
Also:
- rename `first_startup` to `py27-first_startup`
- rename other tox environments to use hyphens only to delimit factors
- use the more specific
```
setenv =
GALAXY_VIRTUAL_ENV={envdir}
```
instead of passing `--no-create-venv` to run unit tests inside the tox
virtualenv (xref. commit 744835bbfe).
Previously, `.venv` would be used if present.
46 lines
983 B
YAML
46 lines
983 B
YAML
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=validate_test_tools
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- libxml2-utils
|
|
- env: TOX_ENV=check_py3_compatibility
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- ack-grep
|
|
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
|