Skip to content

Commit

Permalink
Use container-based infrastructure (sudo: false) in TravisCI
Browse files Browse the repository at this point in the history
  • Loading branch information
nsoranzo authored and natefoo committed Oct 13, 2017
1 parent 3bb5d82 commit 8d573db
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .travis.yml
@@ -1,3 +1,4 @@
sudo: false
language: python
python: 2.7
os:
Expand All @@ -24,9 +25,13 @@ matrix:
allow_failures:
- env: TOX_ENV=py27-lint-imports

addons:
apt:
packages:
- libxml2-utils

install:
- pip install tox
- if [ "$TOX_ENV" == "validate-test-tools" ]; then sudo apt-get install libxml2-utils; fi
- if [ "$TOX_ENV" == "qunit" ]; then bash -c 'cd test/qunit && npm install'; fi
- if [ "$TOX_ENV" == "first_startup" ]; then bash -c "bash 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 && bash manage_db.sh -c ./config/galaxy.ini.sample upgrade"; fi

Expand Down

0 comments on commit 8d573db

Please sign in to comment.