forked from propelorm/Propel3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
42 lines (32 loc) · 791 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
42
language: php
php:
- 7.2
- 7.3
- nightly
env:
- DB=agnostic #only database agnostic tests
- DB=mysql
- DB=sqlite
- DB=pgsql
install:
- rm -f ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini
- composer install
before_script:
- if [[ $DB != 'agnostic' ]]; then ./tests/bin/setup.$DB.sh; fi
script: ./tests/bin/phpunit.$DB.sh
matrix:
allow_failures:
- php: nightly
fast_finish: true
# cache vendors
cache:
directories:
- vendor
- $HOME/.composer/cache
# This triggers builds to run on the new TravisCI infrastructure.
# See: http://docs.travis-ci.com/user/workers/container-based-infrastructure/
sudo: false
notifications:
webhooks:
- http://propel.jarves.io/build.php
- https://webhooks.gitter.im/e/206efe76e183f9ade489