Edge-Core had the product discontinued
[racktables] / .travis.yml
CommitLineData
53b240b7
DO
1language: php
2
3git:
4 quiet: true
42f767bd 5 depth: 3
53b240b7
DO
6
7php:
42f767bd
DO
8 - 5.4
9 - 5.5
10 - 5.6
5ba31f4f
DO
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
42f767bd
DO
16
17matrix:
18 fast_finish: true
53b240b7
DO
19
20services:
21 - mysql
22
23before_script:
cf2bd5c9 24 - ./tests/travis_setup_mysql.sh racktables_unittest racktables travistest
53b240b7
DO
25
26script:
bcf6d28e 27 - ./tests/express.sh
bad3f361 28 - mysql -u racktables -ptravistest racktables_unittest < scripts/init-sample-racks.sql
9d6ccf63 29 - DESTDIR=/tmp make install