feat: Test build in travis

pull/110/head
znerol 2020-12-22 08:44:00 +01:00
parent 882730f39a
commit f7d4d46613
1 changed files with 3 additions and 0 deletions

View File

@ -14,6 +14,7 @@ env:
- CORE_BRANCH=stable20 - CORE_BRANCH=stable20
- DB=mysql - DB=mysql
- LINT=false - LINT=false
- BUILD=false
matrix: matrix:
include: include:
@ -27,6 +28,7 @@ matrix:
env: DB=pgsql env: DB=pgsql
- php: 7.3 - php: 7.3
env: LINT=true env: LINT=true
env: BUILD=true
- php: 7.2 - php: 7.2
env: DB=sqlite CORE_BRANCH=stable19 env: DB=sqlite CORE_BRANCH=stable19
- php: 7.3 - php: 7.3
@ -82,3 +84,4 @@ script:
- yarn test - yarn test
- if [[ "$LINT" = 'true' ]]; then yarn lint; fi - if [[ "$LINT" = 'true' ]]; then yarn lint; fi
- if [[ "$LINT" = 'true' ]]; then yarn commitlint-travis; fi - if [[ "$LINT" = 'true' ]]; then yarn commitlint-travis; fi
- if [[ "$BUILD" = 'true' ]]; then yarn build; fi