forked from opencad-community/OpenCAD-php
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
37 lines (30 loc) · 720 Bytes
/
.travis.yml
File metadata and controls
37 lines (30 loc) · 720 Bytes
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
# see http://about.travis-ci.org/docs/user/languages/php/ for more hints
language: php
# list any PHP version you want to test against
php:
# using major version aliases
# aliased to a recent 5.5.x version
- 5.5
# aliased to a recent 5.6.x version
- 5.6
# aliased to a recent 7.x version
- 7.0
# optionally specify a list of environments, for example to test different RDBMS
env:
- DB=mysql
services:
- mysql
#Set MySQL database
mysql:
database: openCAD
username: root
encoding: utf8
# Intall packages
before_install:
- cp oc-config.sample.php oc-config.php
- mysql -e 'CREATE DATABASE IF NOT EXISTS openCAD;'
test:
adapter: mysql2
database: openCAD
username: root
encoding: utf8