Internal: Fix travis

pull/3513/head
Julio Montoya 5 years ago
parent aaa1c554df
commit 6e2ac7253c
  1. 18
      .travis.yml

@ -64,26 +64,26 @@ before_install:
- bash tests/travis/setup-apache.sh
# Starting Apache
- service apache2 restart
- cat /etc/hosts
- sudo service apache2 restart
- sudo cat /etc/hosts
- curl http://localhost/php.php
install:
- phpenv config-rm xdebug.ini || return 0
- composer install --prefer-source --no-interaction
- composer update --prefer-source --no-interaction
# Install bundle js/css
- php bin/console assets:install
# Permissions
- chmod -R 777 var public
- sudo chmod -R 777 var public
# Dump js routes
- php bin/console fos:js-routing:dump --format=json --target=public/js/fos_js_routes.json
# Install third party js/css libraries
- # Install third party js/css libraries
- yarn install
- ./node_modules/.bin/encore dev
# Permissions
- chown -R www-data:www-data $TRAVIS_BUILD_DIR
- chown -R 775 $TRAVIS_BUILD_DIR
- chmod +x /home/travis/build
- sudo chown -R www-data:www-data $TRAVIS_BUILD_DIR
- sudo chown -R 775 $TRAVIS_BUILD_DIR
- sudo chmod +x /home/travis/build
- ls -la public/build
script:
@ -124,7 +124,7 @@ script:
- ../../vendor/behat/behat/bin/behat features/toolWork.feature -v
after_failure:
- cat /var/log/apache2/error.log
- sudo cat /var/log/apache2/error.log
# configure notifications (email, IRC, campfire etc)
notifications:

Loading…
Cancel
Save