15 env: PHPUNIT_BIN=~/bin/phpunit.phar # PHPUnit 8 by default
17 env: PHPUNIT_BIN=~/bin/phpunit.phar # PHPUnit 8 by default
23 - ./tests/travis_setup_mysql.sh racktables_unittest racktables travistest
24 - if [ "$PHPUNIT_BIN" != "" ]; then mkdir -p ~/bin && curl -sSfL -o ~/bin/phpunit.phar https://phar.phpunit.de/phpunit-7.5.12.phar && chmod a+x ~/bin/phpunit.phar; fi
27 - ./tests/express_pre.sh
28 - if [ "$SKIP_PHPUNIT" = yes ]; then echo '(skipped PHPUnit tests on request)'; else ./tests/express_phpunit.sh; fi
29 - ./tests/express_post.sh
30 - mysql -u racktables -ptravistest racktables_unittest < scripts/init-sample-racks.sql
31 - DESTDIR=/tmp make install