forked from collective/collective.ckeditor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
executable file
·53 lines (47 loc) · 1.32 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
43
44
45
46
47
48
49
50
51
52
53
language: python
python: 2.7
addons:
apt:
packages:
- libxml2-dev
- libxslt1-dev
sudo: false
cache:
directories:
- buildout-cache/eggs
- buildout-cache/downloads
env:
global:
- TARGET=test
- GECKODRIVER_VERSION=v0.19.1
matrix:
include:
- addons:
firefox: "latest"
env: PLONE_VERSION=4.3 FIREFOX=latest
- addons:
firefox: "latest-beta"
env: PLONE_VERSION=4.3 FIREFOX=latest-beta
allow_failures:
- addons:
firefox: "latest-beta"
env: PLONE_VERSION=4.3 FIREFOX=latest-beta
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- wget https://github.com/mozilla/geckodriver/releases/download/$GECKODRIVER_VERSION/geckodriver-$GECKODRIVER_VERSION-linux64.tar.gz
- mkdir geckodriver
- tar -xzf geckodriver-$GECKODRIVER_VERSION-linux64.tar.gz -C geckodriver
- export PATH=$PATH:$PWD/geckodriver
install:
- sed -ie "s#travis-4.x.cfg#travis-$PLONE_VERSION.x.cfg#" travis.cfg
- mkdir -p buildout-cache/eggs
- mkdir -p buildout-cache/downloads
- python bootstrap.py --setuptools-version=19.4 --buildout-version=2.5.0 -c travis.cfg
- bin/buildout -N -t 3 -c travis.cfg install test createcoverage copy_ckeditor_code ckeditor
script:
- bin/test
after_success:
- bin/createcoverage
- pip install coveralls
- coveralls