forked from collective/collective.ckeditor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
executable file
·48 lines (41 loc) · 1.4 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
language: python
python: 2.7
#virtualenv:
# system_site_packages: true
env:
# - PLONE_VERSION=4.0 TARGET=test
# - PLONE_VERSION=4.1 TARGET=test
- PLONE_VERSION=4.2 TARGET=test
- PLONE_VERSION=4.3 TARGET=test
# - PLONE_VERSION=4.4 TARGET=test
# - TARGET=coverage.sh
# - TARGET=python-validation.sh
# - TARGET=css-validation.sh
# - TARGET=js-validation.sh
# csslint and jshint dependencies, uncomment if needed
# before_install:
# - sudo apt-get install ack-grep
# - sudo apt-add-repository ppa:chris-lea/node.js -y
# - sudo apt-get update 1>/dev/null
# - sudo apt-get install nodejs npm -y
# csslint
# - npm install csslint -g
# jshint
# - npm install jshint -g
before_install:
- sudo locale-gen en_US.UTF-8
- sudo update-locale LANG=en_US.UTF-8 LC_MESSAGES=POSIX
- sudo locale -a
- sudo locale
- sudo apt-get install -y libqt4-dev python-qt4 pyqt4-dev-tools qt4-designer python-sip-dev python-sip libxtst-dev libxml2-dev libxslt1-dev
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
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 -c travis.cfg
- bin/buildout -N -t 3 -c travis.cfg
- bin/buildout -N -t 3 -c travis.cfg install omelette
# - for po in $(find -L parts/omelette -path '*/LC_MESSAGES/*.po');do msgfmt -o ${po/%po/mo} $po;done
script: bin/$TARGET