2015-02-05 13:41:03 -06:00
|
|
|
language: php
|
|
|
|
|
2015-12-24 04:39:08 -06:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- cmake
|
|
|
|
- libgnutls-dev
|
|
|
|
- libuuid1
|
|
|
|
- uuid
|
|
|
|
- uuid-dev
|
|
|
|
|
2015-08-01 16:53:26 -05:00
|
|
|
sudo: false
|
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.composer/cache
|
2015-08-01 17:01:27 -05:00
|
|
|
- vendor
|
2015-12-24 04:39:08 -06:00
|
|
|
- build
|
2015-08-01 16:53:26 -05:00
|
|
|
|
2015-02-05 13:41:03 -06:00
|
|
|
php:
|
|
|
|
- 5.4
|
|
|
|
- 5.5
|
|
|
|
- 5.6
|
2015-04-03 18:22:05 -05:00
|
|
|
- 7
|
2015-02-05 13:41:03 -06:00
|
|
|
- hhvm
|
|
|
|
|
|
|
|
env:
|
2015-06-28 09:05:16 -05:00
|
|
|
global:
|
2015-12-24 04:49:31 -06:00
|
|
|
- TASKWARRIOR=2.5.0
|
2015-02-05 13:41:03 -06:00
|
|
|
matrix:
|
|
|
|
- PREFER_LOWEST="--prefer-lowest"
|
|
|
|
- PREFER_LOWEST=""
|
2015-06-28 09:37:00 -05:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
2015-06-28 09:25:48 -05:00
|
|
|
- php: 5.6
|
2015-06-28 09:37:00 -05:00
|
|
|
env: TASKWARRIOR=2.4.3
|
2015-09-15 07:46:55 -05:00
|
|
|
- php: 5.6
|
2015-12-24 04:49:31 -06:00
|
|
|
env: TASKWARRIOR=2.4.4
|
2015-06-28 09:37:00 -05:00
|
|
|
allow_failures:
|
2015-09-15 07:46:55 -05:00
|
|
|
- php: 7
|
|
|
|
- php: hhvm
|
2015-12-24 04:49:31 -06:00
|
|
|
|
2015-06-28 10:17:59 -05:00
|
|
|
install:
|
2015-12-24 04:39:08 -06:00
|
|
|
- bash build.sh $TASKWARRIOR
|
2015-08-01 16:43:41 -05:00
|
|
|
- ln -s build/taskwarrior-$TASKWARRIOR task
|
2015-08-01 16:45:34 -05:00
|
|
|
- chmod +x ./task
|
|
|
|
- ./task --version
|
2015-02-05 13:41:03 -06:00
|
|
|
|
|
|
|
before_script:
|
2015-12-24 04:39:08 -06:00
|
|
|
- composer self-update
|
2015-08-01 16:43:41 -05:00
|
|
|
- composer update $PREFER_LOWEST
|
2015-02-05 13:41:03 -06:00
|
|
|
|
2015-12-24 04:39:08 -06:00
|
|
|
script:
|
|
|
|
- vendor/bin/phpunit
|