forked from matomo-org/matomo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
47 lines (40 loc) · 1.03 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
language: php
# We want to test against PHP 5.3/5.4/5.5
php:
- 5.5
- 5.4
- 5.3
# Separate different test suites
env:
matrix:
- TEST_SUITE=PluginTests
- TEST_SUITE=CoreTests
- TEST_SUITE=IntegrationTests
# Run PHP 5.4 for aa tests to generate
# code coverage.
matrix:
include:
- php: 5.4
env:
- TEST_SUITE=
- secure: "RaRLGQuYhkPWNdkvNNMm0M4kukzwaaLXgQ9kIq3XALXuS1z31SnD27slFopH\nqIBmIYqevce9VKaytJSXrbjsWp8Yx3mheh4fDs4UP/ULhyJ8FgikGbZyU9DP\nsXUJbVMRXSab98Ga25EoV/d8dJoPLvRxMvtpmiT2XLEpwT8Bc2w="
script: ./travis.sh
before_script:
- mysql -e 'create database piwik_test;'
- ./tests/travis/prepare.sh
- ./tests/travis/setup_webserver.sh
- cd tests/PHPUnit
after_success:
- cd $TRAVIS_BUILD_DIR
- ./tests/travis/generate_docs.sh
notifications:
irc:
skip_join: true
on_success: change
channels:
- "irc.freenode.org#piwik-dev"
template:
- "%{repository} (%{commit}) : %{message} %{foo} "
- "Build details: %{build_url}"
email:
- piwik-builds@piwik.org