forked from acmephp/acmephp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (34 loc) · 924 Bytes
/
.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
language: php
sudo: false
branches:
only:
- master
cache:
directories:
- $HOME/.composer/cache/files
matrix:
include:
- php: 5.5
services:
- docker
- php: 5.6
services:
- docker
- php: 7.0
env: deps=low
services:
- docker
- php: 7.1
env: deps=high
services:
- docker
before_install:
- stty cols 120
- phpenv config-rm xdebug.ini || echo "xdebug not available"
- if [[ $deps = high ]]; then composer update --no-interaction --no-progress --ansi; fi
- if [[ $deps = low ]]; then composer update --no-interaction --no-progress --ansi --prefer-lowest --prefer-stable; fi
- if [[ ! $deps ]]; then composer install --no-interaction --no-progress --ansi; fi
- ./tests/setup.sh
script: ./tests/run.sh
notifications:
email: false