forked from IMIO/imio.media
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (35 loc) · 879 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
language: python
addons:
firefox: "52.0.2"
sudo: false
cache:
pip: true
directories:
- eggs
- downloads
python:
- "2.7"
matrix:
fast_finish: true
python: 2.7
install:
- virtualenv -p `which python` .
- bin/pip install -r requirements.txt
- bin/buildout -N buildout:download-cache=downloads annotate
- bin/buildout buildout:download-cache=downloads
before_script:
- export DISPLAY=:99.0
- wget https://github.com/mozilla/geckodriver/releases/download/v0.16.0/geckodriver-v0.16.0-linux64.tar.gz
- mkdir geckodriver && tar zxvf geckodriver-v0.16.0-linux64.tar.gz -C geckodriver
- export PATH=$PATH:$PWD/geckodriver
- sh -e /etc/init.d/xvfb start
- firefox -v
script:
- bin/code-analysis
- bin/test
after_success:
- bin/createcoverage
- bin/pip install coverage
- bin/python -m coverage.pickle2json
- pip install coveralls
- coveralls