2015-02-05 13:41:03 -06:00
|
|
|
language: php
|
|
|
|
|
|
|
|
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:
|
|
|
|
- TASKWARRIOR=2.4.4
|
2015-02-05 13:41:03 -06:00
|
|
|
matrix:
|
|
|
|
- PREFER_LOWEST="--prefer-lowest"
|
|
|
|
- PREFER_LOWEST=""
|
2015-06-28 09:20:22 -05:00
|
|
|
include:
|
2015-06-28 09:25:48 -05:00
|
|
|
- php: 5.6
|
2015-06-28 09:28:54 -05:00
|
|
|
env:
|
|
|
|
- TASKWARRIOR=2.4.0
|
|
|
|
- PREFER_LOWEST=""
|
2015-06-28 09:25:48 -05:00
|
|
|
- php: 5.6
|
2015-06-28 09:28:54 -05:00
|
|
|
env:
|
|
|
|
- TASKWARRIOR=2.4.0
|
|
|
|
- PREFER_LOWEST=""
|
2015-06-28 09:25:48 -05:00
|
|
|
- php: 5.6
|
2015-06-28 09:28:54 -05:00
|
|
|
env:
|
|
|
|
- TASKWARRIOR=2.4.0
|
|
|
|
- PREFER_LOWEST=""
|
2015-06-28 09:25:48 -05:00
|
|
|
- php: 5.6
|
2015-06-28 09:28:54 -05:00
|
|
|
env:
|
|
|
|
- TASKWARRIOR=2.4.0
|
|
|
|
- PREFER_LOWEST=""
|
2015-02-05 13:41:03 -06:00
|
|
|
|
|
|
|
before_install:
|
2015-06-28 09:05:16 -05:00
|
|
|
- wget http://taskwarrior.org/download/task-$TASKWARRIOR.tar.gz
|
|
|
|
- gunzip task-$TASKWARRIOR.tar.gz
|
|
|
|
- tar xf task-$TASKWARRIOR.tar
|
|
|
|
- cd task-$TASKWARRIOR
|
2015-04-22 05:54:41 -05:00
|
|
|
- sudo apt-get install cmake build-essential uuid-dev libgnutls-dev libreadline6-dev --force-yes
|
2015-04-22 05:48:34 -05:00
|
|
|
- sudo cmake -DCMAKE_BUILD_TYPE=release .
|
|
|
|
- sudo make
|
|
|
|
- sudo make install
|
|
|
|
- sudo ln -s /usr/local/bin/task /usr/bin/task
|
2015-02-05 13:41:03 -06:00
|
|
|
- task --version
|
2015-04-22 05:59:26 -05:00
|
|
|
- cd ..
|
2015-06-28 09:05:16 -05:00
|
|
|
- composer self-update
|
2015-02-05 13:41:03 -06:00
|
|
|
|
|
|
|
before_script:
|
|
|
|
- composer update --prefer-source $PREFER_LOWEST
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
allow_failures:
|
2015-04-03 18:22:05 -05:00
|
|
|
- php: 7
|
|
|
|
- php: nightly
|
|
|
|
- php: hhvm
|