diff --git a/.travis.yml b/.travis.yml index e7687c1..db5e56b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,19 +5,39 @@ php: - 5.5 - 5.6 - 7 - - nightly - hhvm env: + global: + - TASKWARRIOR=2.4.4 matrix: - PREFER_LOWEST="--prefer-lowest" - PREFER_LOWEST="" +matrix: + include: + - php: 5.6 + env: TASKWARRIOR=2.4.0 + - php: 5.6 + env: TASKWARRIOR=2.4.1 + - php: 5.6 + env: TASKWARRIOR=2.4.2 + - php: 5.6 + env: TASKWARRIOR=2.4.3 + allow_failures: + - php: 7 + - php: nightly + - php: hhvm + - env: TASKWARRIOR=2.4.0 + - env: TASKWARRIOR=2.4.1 + - env: TASKWARRIOR=2.4.2 + - env: TASKWARRIOR=2.4.3 + before_install: - - wget http://taskwarrior.org/download/task-2.4.4.tar.gz - - gunzip task-2.4.4.tar.gz - - tar xf task-2.4.4.tar - - cd task-2.4.4 + - wget http://taskwarrior.org/download/task-$TASKWARRIOR.tar.gz + - gunzip task-$TASKWARRIOR.tar.gz + - tar xf task-$TASKWARRIOR.tar + - cd task-$TASKWARRIOR - sudo apt-get install cmake build-essential uuid-dev libgnutls-dev libreadline6-dev --force-yes - sudo cmake -DCMAKE_BUILD_TYPE=release . - sudo make @@ -25,13 +45,8 @@ before_install: - sudo ln -s /usr/local/bin/task /usr/bin/task - task --version - cd .. + - composer self-update before_script: - - composer self-update - composer update --prefer-source $PREFER_LOWEST -matrix: - allow_failures: - - php: 7 - - php: nightly - - php: hhvm