-
Notifications
You must be signed in to change notification settings - Fork 142
/
.travis.yml
65 lines (53 loc) · 1.29 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
language: php
sudo: false
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
matrix:
fast_finish: true
allow_failures:
- php: 7.0
- php: 7.1
- php: 7.2
- php: 7.3
branches:
only:
- "master"
- "3.1"
cache:
directories:
- $HOME/.composer/cache
- $HOME/.npm
- vendor
# - javascript/node_modules
addons:
code_climate:
repo_token: 2f9d341839519e41ab143a4266d37887674d9ed0e5304929d8622125314a17df
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/0a100612ee5327ce066f
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false
before_install:
- composer selfupdate
# - nvm install 0.12
# - nvm use 0.12
# - cd $TRAVIS_BUILD_DIR/javascript && npm config set spin false
install:
- composer install --no-progress --no-interaction --prefer-dist
# - cd $TRAVIS_BUILD_DIR/javascript && npm install --no-progress
before_script:
- mkdir -p build/logs
- echo 'date.timezone = "America/Los_Angeles"' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
script:
- composer run test
# - cd $TRAVIS_BUILD_DIR/javascript && npm run test
after_script:
- php ./vendor/bin/coveralls