File tree Expand file tree Collapse file tree 3 files changed +56
-1
lines changed
Expand file tree Collapse file tree 3 files changed +56
-1
lines changed Original file line number Diff line number Diff line change 1+ language : php
2+
3+ cache :
4+ directories :
5+ - $HOME/.composer/cache
6+
7+ env :
8+ global :
9+ # For acceptance tests
10+ - EZPLATFORM_REPO="https://github.com/ezsystems/ezplatform.git"
11+ - COMPOSE_FILE="doc/docker/base-dev.yml:doc/docker/selenium.yml"
12+ - BEHAT_OPTS="--profile=adminuimodules --no-interaction -vv"
13+ - SYMFONY_ENV=behat
14+
15+ # test only master and stable branches (+ Pull requests)
16+ branches :
17+ only :
18+ - master
19+ - /^\d+\.\d+$/
20+
21+ notifications :
22+ slack :
23+ rooms :
24+ - secure : kCYSDmzs1tK5n02Az0gyiGXEPzMw7bLnQ2h2mXWSoysGllLJA55360IJIveDx55+P/XZr8r9FFkZ6es76dESbNubetGkVPxNyZ+Nyxs2FE80GH28e8OihjFL880ZW5Ud/pWqBwzYyNU6XhW82lLBE8pcEnOIDBkFeHLTq3aNhur+6vY2m7tAdP93chGDjMjSTy01qzD02F4B3YrnyQmTZPDdEPaZerpfxrE62Msj7rMIF0WwdJcSEVmIXG/+3CMiqoZSHfU9JGcpn94xBJOqTDHU1QqB5sTT45udEH5d/2+6Yh3kLrCm/zi+h/WK6YSmknUHQAxf4keRQ0DJ5LCwfG2gexcqyhLFf/YESPb6PP49/vaKmmy7i1T4jhhEe0G/X9ucOcfUZ7hLGxE1bkrwADy9h3+YxOKOqEn24sEv7zWYDDL6pVHt3N5gcwCnSwZKp3mBXW6v4dhiYBspcNEODj+rI13CP82H/zjtp/dhCIjJv2TsL03Ei84Fzqc05El1/aykONzkYfEJDHbab2yS0ioiQJdo5ZzyAXQkHjOuHCR0bSPNx6c8vhfSVFPSwSah53OYLrpB3+hURFWbo15zfiEBnRZ0moq8eiVEHT2G8RdgSvb8nD6EtsjhCKKlEawreTjqYcgmxdcJVvJ7s8ym9Hv3isYfmwZgsv9Hll3Mt60=
25+ on_success : change
26+ on_failure : always
27+ on_pull_requests : false
28+
29+ install :
30+ # Disable XDebug for performance
31+ - phpenv config-rm xdebug.ini
32+ # Get latest composer build
33+ - travis_retry composer selfupdate
34+ # Avoid memory issues on composer install
35+ - echo "memory_limit=-1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
36+ # Prepare Behat environment
37+ - ./.travis/prepare_ezplatform.sh
38+
39+ script :
40+ - cd "$HOME/build/ezplatform";
41+ - docker-compose exec --user www-data app sh -c "./bin/behat $BEHAT_OPTS"
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ EZPLATFORM_BRANCH=` php -r ' echo json_decode(file_get_contents("./composer.json"))->extra->_ezplatform_branch_for_behat_tests;' `
4+ EZPLATFORM_BRANCH=" ${EZPLATFORM_BRANCH:- master} "
5+ PACKAGE_BUILD_DIR=$PWD
6+ EZPLATFORM_BUILD_DIR=${HOME} /build/ezplatform
7+
8+ echo " > Cloning ezsystems/ezplatform:${EZPLATFORM_BRANCH} "
9+ git clone --depth 1 --single-branch --branch " ${EZPLATFORM_BRANCH} " ${EZPLATFORM_REPO} ${EZPLATFORM_BUILD_DIR}
10+ cd ${EZPLATFORM_BUILD_DIR}
11+
12+ /bin/bash ./bin/.travis/trusty/setup_ezplatform.sh " ${COMPOSE_FILE} " ' ' " ${PACKAGE_BUILD_DIR} "
Original file line number Diff line number Diff line change 1717 }
1818 },
1919 "extra" : {
20+ "_ezplatform_branch_for_behat_tests" : " master" ,
2021 "branch-alias" : {
21- "dev-master" : " 1.3.x-dev"
22+ "dev-master" : " 1.3.x-dev" ,
23+ "dev-tmp_ci_branch" : " 1.3.x-dev"
2224 }
2325 }
2426}
You can’t perform that action at this time.
0 commit comments