mirror of
https://github.com/filegator/filegator.git
synced 2025-08-12 21:14:03 +02:00
cypress e2e tests
This commit is contained in:
12
.travis.yml
12
.travis.yml
@@ -8,6 +8,17 @@ php:
|
||||
env:
|
||||
- NODE_RELEASE=6.x
|
||||
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
# Cypress dependency
|
||||
- libgconf-2-4
|
||||
|
||||
cache:
|
||||
directories:
|
||||
# cache Cypress binary
|
||||
- ~/.cache
|
||||
|
||||
before_script:
|
||||
- composer self-update
|
||||
- sudo rm -rf ~/.nvm - curl -sL "https://deb.nodesource.com/setup_${NODE_RELEASE}" | sudo -E bash -
|
||||
@@ -21,6 +32,7 @@ install:
|
||||
script:
|
||||
- vendor/bin/phpunit --coverage-clover=coverage.xml
|
||||
- npm run lint
|
||||
- npm run test:e2e
|
||||
|
||||
after_success:
|
||||
- bash <(curl -s https://codecov.io/bash)
|
||||
|
@@ -6,7 +6,8 @@
|
||||
"serve": "concurrently \"php -S localhost:8081\" \"vue-cli-service serve\"",
|
||||
"build": "vue-cli-service build --no-clean",
|
||||
"lint": "vue-cli-service lint --no-fix frontend/",
|
||||
"test:e2e": "vue-cli-service test:e2e",
|
||||
"e2e": "vue-cli-service test:e2e",
|
||||
"test:e2e": "vue-cli-service test:e2e --headless",
|
||||
"test:unit": "vue-cli-service test:unit"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
Reference in New Issue
Block a user