Skip to content

Commit

Permalink
Update composer, dependencies and small travis improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
snapshotpl committed Oct 6, 2017
1 parent 375dbe2 commit 3bb64fd
Show file tree
Hide file tree
Showing 3 changed files with 196 additions and 197 deletions.
11 changes: 4 additions & 7 deletions .travis.yml
Expand Up @@ -6,24 +6,21 @@ services:
- mysql

before_script:
- composer self-update
- composer update
- php ./composer.phar install
- mysql -e 'create database cargo_sample;'
- cp ./config/autoload/local.php.dist ./config/autoload/local.php
- cp ./config/behat.yml.travis ./config/behat.yml
- chmod -R 777 ./data/cache
- php ./bin/migrations.php migrations:migrate -n
- "sh -e /etc/init.d/xvfb start"
- "export DISPLAY=:99.0"
- "java -jar selenium-server-standalone-2.46.0.jar > /dev/null &"
- "java -jar ./selenium-server-standalone-2.46.0.jar > /dev/null &"
# webserver setup
- php -S localhost:8000 -t public &
- php -S localhost:8000 -t ./public &
- sleep 10


script:
- php ./bin/kawaii gherkin:check features/
- php ./bin/phpunit -c ./CargoBackend/tests
- php ./bin/phpunit -c ./GraphTraversalBackend/tests
- bin/behat --verbose

- php ./bin/behat --verbose

0 comments on commit 3bb64fd

Please sign in to comment.