fixup the has_problems table column for rack rows
[racktables] / .travis.yml
1 language: php
2
3 git:
4 quiet: true
5 depth: 3
6
7 php:
8 - 5.4
9 - 5.5
10 - 5.6
11 # In Travis CI PHP 7.0.15 comes with PHPUnit 5.7.6, which is compatible with
12 # earlier versions of itself hence RackTables tests can work on older PHP
13 # versions too (a major advantage of the test matrix). Later PHP versions come
14 # with PHPUnit 6, which is compatible with itself only due to namespaces.
15 - 7.0.15
16
17 matrix:
18 fast_finish: true
19
20 services:
21 - mysql
22
23 before_script:
24 - ./tests/travis_setup_mysql.sh racktables_unittest racktables travistest
25
26 script:
27 - ./tests/express.sh
28 - mysql -u racktables -ptravistest racktables_unittest < scripts/init-sample-racks.sql
29 - DESTDIR=/tmp make install