This repository has been archived by the owner on May 30, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
95c895d
commit 211ea11
Showing
9 changed files
with
90 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,42 @@ | ||
language: php | ||
|
||
env: | ||
- COMPOSER_OPTIONS="update --prefer-source" | ||
sudo: false | ||
|
||
cache: | ||
directories: | ||
- bin | ||
- vendor | ||
- $HOME/.composer/cache | ||
|
||
php: | ||
- 5.4 | ||
- 5.5 | ||
- 5.6 | ||
- hhvm | ||
- 7.0 | ||
- 5.4 | ||
- 5.5 | ||
- 5.6 | ||
- hhvm | ||
- 7.0 | ||
|
||
matrix: | ||
fast_finish: true | ||
allow_failures: | ||
- php: 7.0 | ||
- php: hhvm | ||
fast_finish: true | ||
allow_failures: | ||
- php: 7.0 | ||
- php: hhvm | ||
|
||
before_install: | ||
- "export DISPLAY=:99.0" | ||
- "sh -e /etc/init.d/xvfb start" | ||
- "wget http://selenium.googlecode.com/files/selenium-server-standalone-2.39.0.jar" | ||
- "java -jar selenium-server-standalone-2.39.0.jar > /tmp/selenium.log 2> /tmp/selenium.error &" | ||
# - sh -c "echo 'extension = redis.so' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini" | ||
- /home/travis/.phpenv/versions/$(phpenv version-name)/bin/composer self-update | ||
- sh -c "sudo mkdir vendor" | ||
- sh -c "sudo mount -t tmpfs -o size=512M tmpfs vendor" | ||
- 'export DISPLAY=:99.0' | ||
- 'sh -e /etc/init.d/xvfb start' | ||
- 'wget http://selenium.googlecode.com/files/selenium-server-standalone-2.39.0.jar' | ||
- 'java -jar selenium-server-standalone-2.39.0.jar > /tmp/selenium.log 2> /tmp/selenium.error &' | ||
- 'if [[ $TRAVIS_PHP_VERSION != "hhvm" && $TRAVIS_PHP_VERSION != "7.0" ]]; then phpenv config-rm xdebug.ini; fi;' | ||
- composer self-update | ||
- 'if [[ -n "$GH_TOKEN" ]]; then composer config github-oauth.github.com ${GH_TOKEN}; fi;' | ||
|
||
install: | ||
- composer ${COMPOSER_OPTIONS} --no-interaction | ||
|
||
before_script: | ||
- sh -c "sudo mkdir /tmp/Bamboo" | ||
- sh -c "sudo mount -t tmpfs -o size=512M tmpfs /tmp/Bamboo/" | ||
- composer update --prefer-dist --no-interaction --no-progress | ||
|
||
script: | ||
- bin/behat -fprogress --tags="~javascript" | ||
- bin/phpunit | ||
- php app/console visithor:go --format=pretty --env=test | ||
- bin/behat -fprogress --tags="~javascript" | ||
- bin/phpunit | ||
- php app/console visithor:go --format=pretty --env=test | ||
|
||
notifications: | ||
email: false | ||
|
||
email: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters