forked from kevinkhill/lavacharts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
executable file
·56 lines (45 loc) · 1.04 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
language: php
sudo: false
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
php:
- 5.4
- 5.5
- 5.6
- 7
- hhvm
matrix:
fast_finish: true
allow_failures:
- php: 7
- php: hhvm
branches:
only:
- "master"
- "3.0"
cache:
directories:
- vendor
- node_modules
before_install:
- nvm install 0.10
- nvm use 0.10
- npm config set spin false
install:
- npm install karma karma-jasmine karma-phantomjs-launcher jasmine-core
#- composer install --no-progress
- composer update --prefer-lowest
before_script:
- echo 'date.timezone = "America/Los_Angeles"' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
- mkdir -p build/logs
script:
#- php -i | grep timezone
- phpunit -c configs/phpunit.xml.dist
- npm test
after_script:
- php vendor/bin/coveralls