Skip to content

Commit

Permalink
Update travis.yml to use container build infrastructure again (pandas…
Browse files Browse the repository at this point in the history
…-dev#304)

With most recent updates to the server test fixtures (pytest-server-fixtures) we
should be able to run with sudo: false again, thus enabling containers again. This
will result in a small but noticeable speedup in build times
  • Loading branch information
bmoscon committed Dec 22, 2016
1 parent 975b3cc commit 6d8e132
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
sudo: required
dist: trusty
dist: precise
sudo: false
language: python
python:
- "2.7"
- "3.4.5"
- "3.5.2"
before_install:
- sudo apt-key adv --keyserver keys.gnupg.net --recv 6DA70622
- sudo echo "deb http://downloads.ortussolutions.com/debs/noarch /" | sudo tee -a /etc/apt/sources.list.d/commandbox.list
- sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927
- sudo echo "deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.2 multiverse" | sudo tee -a /etc/apt/sources.list.d/mongodb-org-3.2.list

addons:
apt:
sources:
- mongodb-3.2-precise
packages:
- mongodb-org-server
- mongodb-org-shell
services:
- mongodb

install:
- sudo apt-get update && sudo apt-get --assume-yes install mongodb-org
- mongo --version
- pip install --upgrade pip
- pip install python-dateutil --upgrade
Expand Down

0 comments on commit 6d8e132

Please sign in to comment.