forked from ezsystems/ezplatform-ee
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (32 loc) · 902 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
38
39
40
41
language: php
# We do Behat testing here, lots of sudo going on
sudo: required
# run tests on php 5.5 only and let unit / integration tests deal with php differences
php:
- 5.5
# list of paths/bundle to execute
env:
- ARGS="--profile=rest --suite=fullJson"
- ARGS="--profile=rest --suite=fullXml"
- ARGS="--profile=core"
# test only master (+ Pull requests)
branches:
only:
- master
# install packages
before_install:
- ./bin/.travis/prepare_system.sh
- ./bin/.travis/prepare_selenium2.sh
# setup requirements for running tests
before_script:
# Prepare eZ Publish (composer, permissions, assets, cache warmup)
- ./bin/.travis/prepare_ezpublish.sh
# execute behat as the script command
script:
- php bin/behat -vc behat.yml.dist $ARGS --tags='~@broken'
# disable mail notifications
notifications:
email: false
# reduce depth (history) of git checkout
git:
depth: 30