Files
icehrm/.travis.yml
Thilina Hasantha 526ee66e2d Fix travis CI build
2019-08-30 03:17:35 +02:00

23 lines
576 B
YAML

services:
- mysql
addons:
apt:
packages:
- ant
before_script:
- echo "USE mysql;\nUPDATE user SET authentication_string=PASSWORD('dev') WHERE user='root';\nFLUSH PRIVILEGES;\n" | mysql -u root
install:
- apt-get install ant
#- rm $TRAVIS_BUILD_DIR/tools/phpunit
#- composer require --dev phpunit/phpunit ~6.5.5
#- $TRAVIS_BUILD_DIR/vendor/bin/phpunit --version
#- cp $TRAVIS_BUILD_DIR/vendor/bin/phpunit $TRAVIS_BUILD_DIR/tools
script: ant build-ci
language: php
php:
- '5.6'
- '7.0'
- '7.1'
- '7.2'
after_failure: "cat /tmp/icehrm.test.log"