forked from galaxyproject/galaxy
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
30 lines (26 loc) · 1.07 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
os: osx
# No version of Python is available via virtualenv on OS X workers, see https://github.com/travis-ci/travis-ci/issues/2312
language: generic
env:
- TOX_ENV=py27-first_startup
- TOX_ENV=py35-first_startup
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
elif [ "$TOX_ENV" == "py35-first_startup" ]; then
MINICONDA_URL="https://repo.anaconda.com/miniconda"
MINICONDA_FILE="Miniconda3-latest-MacOSX-x86_64.sh"
curl -L -O "${MINICONDA_URL}/${MINICONDA_FILE}"
bash $MINICONDA_FILE -b
~/miniconda3/bin/conda create --yes --override-channels --channel conda-forge --channel defaults --name _galaxy_ 'python=3.5' 'pip>=9' 'virtualenv>=16'
. ~/miniconda3/bin/activate _galaxy_
fi
script: tox -e $TOX_ENV
notifications:
email: false