Skip to content
This repository has been archived by the owner on Jun 16, 2018. It is now read-only.

Commit

Permalink
Switch to container-based Travis infrastructure
Browse files Browse the repository at this point in the history
  • Loading branch information
astrofrog committed Aug 20, 2015
1 parent 8073814 commit 99e86b2
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
language: python

# Setting sudo to false opts in to Travis-CI container-based builds.
sudo: false

# The apt packages below are needed for sphinx builds
addons:
apt:
packages:
- graphviz
- texlive-latex-extra
- dvipng

python:
- 2.6
- 2.7
Expand Down Expand Up @@ -65,12 +76,6 @@ before_install:
- export PATH=/home/travis/miniconda/bin:$PATH
- conda update --yes conda

# UPDATE APT-GET LISTINGS
- sudo apt-get update

# DOCUMENTATION DEPENDENCIES
- if [[ $SETUP_CMD == build_sphinx* ]]; then sudo apt-get install graphviz texlive-latex-extra dvipng; fi

# Make sure that interactive matplotlib backends work
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
Expand Down

0 comments on commit 99e86b2

Please sign in to comment.