]> git.immae.eu Git - github/wallabag/wallabag.git/blame - .travis.yml
Change wording for create a new user
[github/wallabag/wallabag.git] / .travis.yml
CommitLineData
03493be0 1language: php
aa6e27cf 2
3e6b7ea0 3# faster builds on docker-container setup
2d733277
J
4sudo: false
5
fef41241
JB
6# used for HHVM
7addons:
8 apt:
9 packages:
10 - tidy
11
3e6b7ea0
J
12# cache vendor dirs
13cache:
14 directories:
15 - vendor
16 - $HOME/.composer/cache
17
367664ee 18php:
3e6b7ea0
J
19 - 5.5
20 - 5.6
03fb6fde 21 - 7.0
3e6b7ea0 22 - hhvm
03fb6fde
JB
23
24env:
25 - DB=mysql
26 - DB=pgsql
27 - DB=sqlite
61413889
J
28
29matrix:
3e6b7ea0 30 fast_finish: true
03fb6fde
JB
31 exclude:
32 - php: hhvm
33 env: DB=pgsql # driver for PostgreSQL currently unsupported by HHVM, requires 3rd party dependency
3e6b7ea0
J
34 allow_failures:
35 - php: hhvm
aa6e27cf 36
3d99ce9d 37branches:
3e6b7ea0
J
38 only:
39 - v2
40
03fb6fde 41before_script:
3ee1582e
JB
42 - if [[ $TRAVIS_PHP_VERSION != hhvm ]]; then echo "memory_limit=-1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; fi;
43 - if [[ $TRAVIS_PHP_VERSION != hhvm ]]; then phpenv config-rm xdebug.ini; fi;
44 - composer self-update --no-progress
609594fa 45 - if [ -n "$GH_TOKEN" ]; then composer config github-oauth.github.com ${GH_TOKEN}; fi;
03fb6fde 46 - if [[ "$DB" = "pgsql" ]]; then psql -c 'create database wallabag;' -U postgres; fi;
aa6e27cf
J
47
48script:
3ee1582e 49 - travis_wait composer update --no-interaction --no-progress
03fb6fde 50 - ant prepare-$DB
bd2c8b46 51 - bin/phpunit -v