Clean code to take advantage of new L5.5 features, bring back some dusk
tests now we can use headless chrome. Squashed commit of the following: commit d32d6e9dca7eb26303435c738f7c547e5009b86b Author: Jonny Barnes <jonny@jonnybarnes.uk> Date: Wed Sep 6 14:43:52 2017 +0100 Add dusk tests, cleanup other parts of travis.yml commit 7633b407ee222a3f4a222f889f23acf4b5549c22 Author: Jonny Barnes <jonny@jonnybarnes.uk> Date: Wed Sep 6 14:38:39 2017 +0100 I think dusk works locally with headless chrome now, just struggling on my slow laptop commit fcbc83bb0a53ac046c1af09e8caf296799a940ef Author: Jonny Barnes <jonny@jonnybarnes.uk> Date: Tue Sep 5 15:47:39 2017 +0100 Get latest package versions and remove un-needed service provider entries
This commit is contained in:
parent
7eff2075ac
commit
a3cce90c10
8 changed files with 85 additions and 150 deletions
13
.travis.yml
13
.travis.yml
|
@ -7,6 +7,7 @@ cache:
|
|||
- apt
|
||||
|
||||
addons:
|
||||
chrome: stable
|
||||
postgresql: "9.6"
|
||||
apt:
|
||||
sources:
|
||||
|
@ -38,10 +39,6 @@ before_install:
|
|||
- echo 'error_log = "/tmp/php.error.log"' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
|
||||
- psql -U travis -c 'create database travis_ci_test'
|
||||
- psql -U travis -d travis_ci_test -c 'create extension postgis'
|
||||
- mkdir travis-phantomjs
|
||||
- wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 -O $PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2
|
||||
- tar -xvf $PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD/travis-phantomjs
|
||||
- export PATH=$PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64/bin:$PATH
|
||||
- travis_retry composer self-update --preview
|
||||
|
||||
install:
|
||||
|
@ -55,14 +52,10 @@ before_script:
|
|||
- php artisan migrate
|
||||
- php artisan db:seed
|
||||
- php artisan token:generate
|
||||
- phantomjs --webdriver=127.0.0.1:9515 --webdriver-loglevel=DEBUG &
|
||||
- google-chrome-stable --headless --disable-gpu --remote-debugging-port=9515 http://localhost:8000 &
|
||||
- sleep 5 # Give artisan some time to start serving
|
||||
|
||||
script:
|
||||
- php vendor/bin/phpunit --coverage-text
|
||||
- php artisan dusk
|
||||
- php vendor/bin/security-checker security:check ./composer.lock --end-point=http://security.sensiolabs.org/check_lock
|
||||
|
||||
after_script:
|
||||
- killall -9 postgresql
|
||||
- killall -9 php-fpm
|
||||
- killall -9 nginx
|
Loading…
Add table
Add a link
Reference in a new issue