miniflux-legacy/.travis.yml

37 lines
855 B
YAML
Raw Normal View History

git:
depth: 3
language: php
2016-12-29 21:45:09 +01:00
sudo: required
php:
2016-08-18 03:06:43 +02:00
- 7.0
- 5.6
- 5.5
- 5.4
- 5.3
2016-12-29 21:45:09 +01:00
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y apache2 libapache2-mod-fastcgi
install:
2016-08-18 03:06:43 +02:00
- composer install
2016-12-29 21:45:09 +01:00
before_script:
- ./tests/ci/install.sh
- npm install
2016-12-29 21:45:09 +01:00
2016-08-18 03:06:43 +02:00
script:
- ./node_modules/.bin/jshint assets/js/src/*.js
2016-12-26 21:07:18 +01:00
- ./vendor/bin/phpunit -c tests/phpunit.unit.sqlite.xml
- ./vendor/bin/phpunit -c tests/phpunit.unit.postgres.xml
2016-12-29 21:45:09 +01:00
- ./vendor/bin/phpunit -c tests/phpunit.functional.sqlite.xml
2016-12-30 00:04:56 +01:00
- cp ./tests/ci/config.postgres.php $TRAVIS_BUILD_DIR/config.php
- ./vendor/bin/phpunit -c tests/phpunit.functional.postgres.xml tests/functional/ApiTest.php
- ./vendor/bin/phpunit -c tests/phpunit.functional.postgres.xml tests/functional/FeverApiTest.php
2016-12-29 21:45:09 +01:00
after_failure:
- cat apache_error.log
- cat apache_access.log