summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 0ef3a2c5da70557445b6d04147810a4cfd3937f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
notifications:
  email: false

git:
  depth: 3

services:
  - postgresql

language: php
sudo: false

php:
  - 7.2
  - 7.1
  - 7.0
  - 5.6

env:
  - DB=sqlite
  - DB=postgres

matrix:
  fast_finish: true

before_install:
  - composer install
  - npm install -g jshint

script:
  - jshint assets/js/{core,components}
  - ./vendor/bin/phpunit -c tests/units.$DB.xml
  - ./vendor/bin/phpunit tests/configtest