Skip to content

Commit

Permalink
I think Travis now disallows sudo.
Browse files Browse the repository at this point in the history
In the new container-based builds.
  • Loading branch information
miracle2k committed Feb 11, 2016
1 parent 95dff0a commit daa4f64
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ python:
install:
# Supposed to help get PIL to install on PyPi
# https://github.com/python-imaging/Pillow/issues/570
- sudo apt-get install python-tk
- apt-get install python-tk

# To install external filter binaries, we first need to install
# RubyGems and Node/NPM. I'm not sure why, since it seems clear
# that NVM and RVM are pre-installed (see below).
- sudo apt-get install python-software-properties
- sudo apt-add-repository -y ppa:chris-lea/node.js
- sudo apt-get update
- sudo apt-get install nodejs rubygems
- sudo apt-get install npm
- apt-get install python-software-properties
- apt-add-repository -y ppa:chris-lea/node.js
- apt-get update
- apt-get install nodejs rubygems
- apt-get install npm
- npm install -g postcss autoprefixer

# These are useful for debugging this mess.
Expand All @@ -23,7 +23,7 @@ install:

# Use non-http registry? https://github.com/n1k0/casperjs/issues/876
# Without this, installing doesn't work.
- sudo npm config set registry http://registry.npmjs.org/
- npm config set registry http://registry.npmjs.org/

# Now install the external filter binaries, finally.
# If we use sudo for this, ruby gems will not work: it seems they are
Expand Down

0 comments on commit daa4f64

Please sign in to comment.