03b483aa45
Also move ESLint and SASSLint config files to a dedicated .dev folder
45 lines
778 B
YAML
45 lines
778 B
YAML
sudo: false
|
|
dist: trusty
|
|
|
|
matrix:
|
|
include:
|
|
- language: php
|
|
php: 7.2
|
|
- language: php
|
|
php: 7.1
|
|
- language: php
|
|
php: 7.0
|
|
- language: php
|
|
php: 5.6
|
|
- language: node_js
|
|
node_js: 8
|
|
cache:
|
|
yarn: true
|
|
directories:
|
|
- $HOME/.cache/yarn
|
|
|
|
install:
|
|
- yarn install
|
|
|
|
before_script:
|
|
- PATH=${PATH//:\.\/node_modules\/\.bin/}
|
|
|
|
script:
|
|
- yarn run build # Just to be sure that the build isn't broken
|
|
- make eslint
|
|
- make sasslint
|
|
|
|
cache:
|
|
directories:
|
|
- $HOME/.composer/cache
|
|
|
|
install:
|
|
- composer install --prefer-dist
|
|
|
|
before_script:
|
|
- PATH=${PATH//:\.\/node_modules\/\.bin/}
|
|
|
|
script:
|
|
- make clean
|
|
- make check_permissions
|
|
- make all_tests
|