forked from javigomez/fof
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
55 lines (45 loc) · 1.06 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
sudo: false
git:
submodules: false
language: php
php:
- 7.0
- 5.6
- 5.5
- 5.4
- 5.3
- hhvm
matrix:
allow_failures:
- php: hhvm
- php: 7.0
- php: 5.6
env: JVERSION_TEST=3.5-dev
- php: 5.5
env: JVERSION_TEST=3.5-dev
- php: 5.4
env: JVERSION_TEST=3.5-dev
- php: 5.3
env: JVERSION_TEST=3.5-dev
env:
- JVERSION_TEST=3.4
- JVERSION_TEST=3.5-dev
branches:
only:
- development
- debug-travis
before_install:
- git submodule update --init --recursive Tests/environments/"$JVERSION_TEST"
install:
- composer selfupdate
- composer install
before_script:
- mysql -u root -e 'create database fof_test;'
- mysql -u root -e "CREATE USER 'fof_db'@'localhost' IDENTIFIED BY 'fof';"
- mysql -u root -e "GRANT ALL PRIVILEGES ON fof_test.* TO 'fof_db'@'%' IDENTIFIED BY 'fof';"
- mysql -u root -e "GRANT ALL PRIVILEGES ON fof_test.* TO 'fof_db'@'localhost' IDENTIFIED BY 'fof';"
- mysql -u root -e 'FLUSH PRIVILEGES;'
after_script:
- cat Tests/debug.txt
notifications:
email: false