forked from ezsystems/ezpublish-community
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (32 loc) · 907 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
# 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:
# run setup wizard to install Demo+Content and then test demo with content
- INSTALL="installdemocontent" PROFILE="democontent"
# test REST
- INSTALL="installdemoclean" PROFILE="restapi"
# test only master (+ Pull requests)
branches:
only:
- master
# install packages
before_install:
- ./bin/.travis/prepare_system.sh
- ./bin/.travis/prepare_sahi.sh
# - ./bin/.travis/prepare_selenium2.sh
# setup requirements for running tests
before_script:
- ./bin/.travis/prepare_ezpublish.sh
# execute behat as the script command
script:
- php bin/behat --profile $INSTALL
- php bin/behat --profile $PROFILE
# disable mail notifications
notification:
email: false
# reduce depth (history) of git checkout
git:
depth: 30