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