forked from ezsystems/ezplatform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (33 loc) · 858 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
matrix:
include:
- php: 5.6
env: ARGS="--profile=core"
- php: 5.5
env: ARGS="--profile=rest --suite=fullJson"
- php: 7.0
env: ARGS="--profile=rest --suite=fullXml"
# test only master (+ Pull requests)
branches:
only:
- master
- "1.3"
# 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 -c behat.yml.dist $ARGS --tags='~@broken'
# disable mail notifications
notifications:
email: false
# reduce depth (history) of git checkout
git:
depth: 30