forked from layershifter/TLDExtract
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (36 loc) · 1.08 KB
/
.travis.yml
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
34
35
36
37
38
39
40
41
42
43
44
branches:
only:
- master
language: bash
cache:
directories:
- $HOME/.composer/cache
services:
- docker
sudo: required
env:
matrix:
- ENGINE=php VERSION=5.5 INTL=0
- ENGINE=php VERSION=5.5 INTL=1
- ENGINE=php VERSION=5.6 INTL=0
- ENGINE=php VERSION=5.6 INTL=1
- ENGINE=php VERSION=7.0 INTL=0
- ENGINE=php VERSION=7.0 INTL=1
- ENGINE=php VERSION=7.1 INTL=0
- ENGINE=php VERSION=7.1 INTL=1
- ENGINE=php VERSION=7.2 INTL=0
- ENGINE=php VERSION=7.2 INTL=1
- ENGINE=php VERSION=7.3 INTL=0
- ENGINE=php VERSION=7.3 INTL=1
- ENGINE=hhvm INTL=0
before_script:
- bash travis/helper.sh install
- bash travis/helper.sh info
- bash travis/helper.sh run mkdir -p build/logs
- bash travis/helper.sh run composer self-update
- bash travis/helper.sh run composer update --no-interaction --prefer-dist
script:
- bash travis/helper.sh phpunit
- if [[ $ENGINE == 'php' && $VERSION == '7.0' ]]; then bash travis/helper.sh lint; fi
after_success:
- if [[ $ENGINE == 'php' && $VERSION == '7.0' ]]; then bash travis/helper.sh coverage; fi