Skip to content
Snippets Groups Projects
Commit 389d3ab2 authored by Tim van Dijen's avatar Tim van Dijen
Browse files

Add build-stage to test-suite

parent bcd27aba
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,7 @@ stages:
- pre-conditions
- test
- quality
- build
################
......@@ -124,12 +125,7 @@ jobs:
- composer update
- php vendor/bin/phpunit
script:
# Codecov, need to edit bash uploader for incorrect TRAVIS_PYTHON_VERSION environment variable matching, at least until codecov/codecov-bash#133 is resolved
- curl -s https://codecov.io/bash > .codecov
- sed -i -e 's/TRAVIS_.*_VERSION/^TRAVIS_.*_VERSION=/' .codecov
- chmod +x .codecov
- ./.codecov -X gcov
# - <(curl -s https://codecov.io/bash)
- bash <(curl -s https://codecov.io/bash)
- stage: quality
env: Psalm
......@@ -145,6 +141,18 @@ jobs:
script:
- vendor/bin/phpcs
###################
# Quality stage #
###################
- stage: build
env: NPM build
before_script:
- npm install
- npm audit fix
script:
- npm run build
notifications:
slack:
secure: h5YiO7tAk5bzAQBkUZ3crnOFAOBkNqHp0nc2cxvGauogVfCLE9K8bME512uTeu9QWMht2D30uyTOHFKQ7sPEW4omHNF4qYl4p9L037oQFfEwZPBzJFo9QUzviT3mvKHTN4HSQOkq/08ZoMhh1i3p/OhyFS56J28IDJWDqGZkEUE=
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment