forked from miracle2k/webassets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
41 lines (35 loc) · 1.22 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
31
32
33
34
35
36
37
38
39
40
41
language: python
python:
- 2.6
install:
# Supposed to help get PIL to install on PyPi
# https://github.com/python-imaging/Pillow/issues/570
- sudo 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
# These are useful for debugging this mess.
#- env
#- gem env
#- rvm info
# 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/
# Now install the external filter binaries, finally.
# If we use sudo for this, ruby gems will not work: it seems they are
# then installed globally, but are then searched for in a RVM location.
# (Clearing GEM_HOME might be a way to fix this, if sudo where necessary).
- sh requirements-dev.sh
# Install our test runner
- pip install tox
script: tox
notifications:
email:
branches:
only:
- master