-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
47 lines (38 loc) · 919 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
43
44
45
46
47
language: php
sudo: false
dist: trusty
php:
- 5.5
- 5.6
- 7.0
git:
depth: 1
cache:
apt: true
ccache: true
timeout: 691200
directories:
- vendor
- $HOME/.composer/cache
env:
matrix:
- PHALCON_VERSION="3.0.x"
- PHALCON_VERSION="v3.0.4"
before_install:
- phpenv config-rm xdebug.ini || true
- if [ -n "$GH_TOKEN" ]; then composer config github-oauth.github.com ${GH_TOKEN}; fi;
- travis_retry composer install --prefer-dist --no-interaction --ignore-platform-reqs
- git clone --depth=1 -v --branch=${PHALCON_VERSION} https://github.com/phalcon/cphalcon.git
install:
- (cd cphalcon/build; bash install &>/dev/null)
- phpenv config-add cphalcon/tests/_ci/phalcon.ini
script:
- vendor/bin/phpcs
- vendor/bin/codecept build
- vendor/bin/codecept run
notifications:
email:
recipients:
- build@phalconphp.com
on_success: change
on_failure: always