|
|
|
@ -38,6 +38,8 @@ before_install: |
|
|
|
|
#- sudo apt-get install apache2 libapache2-mod-fastcgi |
|
|
|
|
# Fix travis error https://github.com/travis-ci/travis-ci/issues/8607 |
|
|
|
|
- sudo rm -vf /etc/apt/sources.list.d/*riak* |
|
|
|
|
- apt-get update -qq |
|
|
|
|
- apt-get install -y -qq postfix |
|
|
|
|
# Get Chrome |
|
|
|
|
#- wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - |
|
|
|
|
#- sudo apt-get update |
|
|
|
@ -101,11 +103,17 @@ before_install: |
|
|
|
|
- curl $VHOST_URL |
|
|
|
|
- ls -la web/build |
|
|
|
|
|
|
|
|
|
before_script: |
|
|
|
|
- service postfix stop |
|
|
|
|
- smtp-sink -d "%d.%H.%M.%S" localhost:2500 1000 & |
|
|
|
|
- echo -e '#!/usr/bin/env bash\nexit 0' | sudo tee /usr/sbin/sendmail |
|
|
|
|
- echo 'sendmail_path = "/usr/sbin/sendmail -t -i "' | sudo tee "/home/travis/.phpenv/versions/`php -i | grep "PHP Version" | head -n 1 | grep -o -P '\d+\.\d+\.\d+.*'`/etc/conf.d/sendmail.ini" |
|
|
|
|
|
|
|
|
|
script: |
|
|
|
|
- whereis google-chrome-stable |
|
|
|
|
- google-chrome-stable --version |
|
|
|
|
- whereis chromedriver |
|
|
|
|
- chromedriver --version |
|
|
|
|
# - whereis google-chrome-stable |
|
|
|
|
# - google-chrome-stable --version |
|
|
|
|
# - whereis chromedriver |
|
|
|
|
# - chromedriver --version |
|
|
|
|
- cd tests/behat |
|
|
|
|
- pwd |
|
|
|
|
- travis_wait 45 ../../vendor/behat/behat/bin/behat -v |
|
|
|
|