forked from miracle2k/webassets
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
37 lines (31 loc) · 993 Bytes
/
.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
sudo: required
dist: trusty
language: python
python:
- 2.6
node_js:
- "4.3.2"
install:
- sudo apt-get -qq update
# 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
- npm install -g postcss-cli autoprefixer
# 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