-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
43 lines (34 loc) · 889 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
language: php
php:
- 5.6
- 7.0
- 7.1
- 7.2
- nightly
env:
global:
# GH_TOKEN define in repository settings on travis-ci.org
- GH_REPO: github.com/locomotivemtl/charcoal-cache.git
- GH_PAGES: locomotivemtl.github.io/charcoal-cache
matrix:
allow_failures:
- php: nightly
cache:
directories:
- $HOME/.composer/cache
before_install:
- composer self-update --quiet
install:
- composer install --no-interaction --no-suggest
- mkdir -p build/logs/
script:
- composer phplint
- composer phpcs
- composer phpunit -- --coverage-clover "build/logs/clover.xml"
after_script:
- php vendor/bin/php-coveralls -v
- bash build/travis/phpdoc_ghpages.sh
- bash build/travis/apigen_ghpages.sh
notifications:
slack: locomotivemtl:d9h8ZWwTZ6b3WUsSP9s26nb1
email: [email protected]