forked from mozilla/airmozilla
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (35 loc) · 1.01 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
42
# http://travis-ci.org/#!/mozilla/airmozilla
# This indicates to Travis that we will not use or need sudo
# so that we can benefit from and use the cache->directories
# directive.
sudo: no
env: PIP_DOWNLOAD_CACHE="pip_cache"
cache:
directories:
- pip_cache
language: python
python:
- 2.6
#- 2.7
before_install:
- export DISPLAY=:99.0
- /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16
- git submodule update --init --recursive
install: bin/travis/install.sh
before_script:
- bin/travis/lint.sh
- bin/travis/setup.sh
script:
- bin/travis/test.sh
notifications:
irc:
channels:
- "irc.mozilla.org#airmozilla-dev"
on_success: always
on_failure: always
webbooks:
http://leeroybot.lonnen.com/hubot/travis?room=%23airmozilla-dev
after_success:
# Report coverage results to coveralls.io
- pip install coveralls
- coveralls